Revision 9745
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/runscripts/subdir.run | ||
---|---|---|
13 | 13 |
# target names are relative to the subdir itself, not the datasrc dir |
14 | 14 |
{ |
15 | 15 |
echo_func |
16 |
make --directory="$(canon_rel_path "$top_dir"/..)" "${@/#/$subdir/}"
|
|
17 |
# "${@/#/$subdir/}": replaces empty str at start of str (/#) with $subdir/
|
|
16 |
set -- "${@/#/$subdir/}" # replace empty str at start (/#) with $subdir/
|
|
17 |
make --directory="$(canon_rel_path "$top_dir"/..)" "$@"
|
|
18 | 18 |
} |
19 | 19 |
|
20 | 20 |
fi |
Also available in: Unified diff
lib/runscripts/subdir.run: subdir_make(): put prepending of "$subdir/" on its own line for clarity