Project

General

Profile

« Previous | Next » 

Revision 8772

inputs/GBIF/MySQL_export: use lib/util.sh instead of util.run now that the non-runscript-specific functions have been separated out into it. this ensures that MySQL_export is not unintentionally treated as a runscript (which functions differently from a normal shell script).

View differences:

MySQL_export
1 1
#!/bin/bash
2 2
set -o errexit
3 3
# Usage: env table=... [filter=...] self >out
4
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/util.run
4
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/util.sh
5 5

  
6 6
: "${table:?}" "${filter:=1}"
7 7

  

Also available in: Unified diff