Revision 11593
Added by Aaron Marcuse-Kubitza about 11 years ago
geoscrub.csv.run | ||
---|---|---|
18 | 18 |
make() # usage: rm=1 .../self.run make |
19 | 19 |
{ |
20 | 20 |
echo_func |
21 |
DATAFILE="$(canon_rel_path "$top_dir/../../../exports/geoscrub_input.csv")" \ |
|
22 |
command "$top_dir/../../../derived/biengeo/geoscrub.sh" |
|
21 |
local input_path="$(canon_rel_path "$root_dir/exports/geoscrub_input.csv")" |
|
22 |
DATAFILE="$(basename "$input_path")" command \ |
|
23 |
"$root_dir/derived/biengeo/geoscrub.sh" \ |
|
24 |
--geoscrub-input="$(dirname "$input_path")" |
|
23 | 25 |
export_ |
24 | 26 |
} |
25 | 27 |
|
Also available in: Unified diff
bugfix: inputs/.geoscrub/geoscrub_output/geoscrub.csv.run: invoking derived/biengeo/geoscrub.sh: need to split the input file into separate dir and filename parts, because $DATAFILE actually is just the filename, not the entire path, and will otherwise get prepended with the default value for $DATADIR