Revision 11591
Added by Aaron Marcuse-Kubitza about 11 years ago
load-geoscrub-input.sh | ||
---|---|---|
29 | 29 |
SCRIPT_DIR="$(dirname $0)" |
30 | 30 |
DATA_URL="http://fs.vegpath.org/exports/geoscrub_input.csv" |
31 | 31 |
DATADIR="${HOME}/geoscrub_input" |
32 |
DATAFILE="geoscrub-corpus.csv"
|
|
32 |
: "${DATAFILE:=geoscrub-corpus.csv}"
|
|
33 | 33 |
|
34 | 34 |
function usage { |
35 | 35 |
echo "Usage: $0 [OPTIONS]" >&2 |
Also available in: Unified diff
derived/biengeo/load-geoscrub-input.sh: allow the caller to override $DATAFILE in the environment, to use a file named other than "geoscrub-corpus.csv"