Revision 11588
Added by Aaron Marcuse-Kubitza about 11 years ago
lib/sh/make.sh | ||
---|---|---|
5 | 5 |
|
6 | 6 |
if isset rm; then : "${remake:=$rm}"; fi #mnemonic: files are rm'd (overwritten) |
7 | 7 |
unset rm # don't allow rm to override remake if an invoked script uses this file |
8 |
export remake # propagate to invoked commands by default |
|
8 | 9 |
|
9 | 10 |
# usage: target_filename/command() { echo_func; set_make_vars; use $target...; } |
10 | 11 |
alias set_make_vars="$(cat <<'EOF' |
Also available in: Unified diff
bugfix: lib/sh/make.sh: $remake: need to explicitly propagate this to invoked commands if it was set from $rm