Revision 12715
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/lib/runscripts/util.run | ||
---|---|---|
78 | 78 |
{ echo_func; for cmd in "$@"; do time echo_run "$cmd"; done; } |
79 | 79 |
|
80 | 80 |
: "${auto_ignore=}" #usage: auto_ignore=1 .../__.run target_that_might_not_exist |
81 |
unexport auto_ignore # don't pass this to invoked scripts except through fwd() |
|
81 | 82 |
if test "$auto_ignore"; then |
82 | 83 |
fallback() # don't generate error that it doesn't exist |
83 | 84 |
{ echo_func; log_info "ignoring non-existant target: $*"; } |
Also available in: Unified diff
bugfix: lib/runscripts/util.run: $auto_ignore: need to unexport it so don't pass this to invoked scripts except through fwd()