Project

General

Profile

« Previous | Next » 

Revision 11588

bugfix: lib/sh/make.sh: $remake: need to explicitly propagate this to invoked commands if it was set from $rm

View differences:

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