Revision 8956
Added by Aaron Marcuse-Kubitza over 11 years ago
inputs/GBIF/_MySQL/run | ||
---|---|---|
6 | 6 |
import () |
7 | 7 |
{ |
8 | 8 |
echo_func |
9 |
make |
|
9 |
make --directory="$top_dir"
|
|
10 | 10 |
} |
11 | 11 |
|
12 | 12 |
fi |
lib/util.sh | ||
---|---|---|
218 | 218 |
make () |
219 | 219 |
{ |
220 | 220 |
echo_func |
221 |
stdout2stderr=1 self --directory="$top_dir" "$@"
|
|
221 |
stdout2stderr=1 self "$@" |
|
222 | 222 |
} |
223 | 223 |
|
224 | 224 |
if false; then ## usage: |
Also available in: Unified diff
lib/util.sh: make (): don't change the directory to $top_dir, because paths used by the caller will instead be relative to the current dir (note that in runscripts, paths are generally not absolute because of canon_rel_path ()). this requires manually specifying $top_dir when running make on a physical (rather than inlined) makefile.