Project

General

Profile

« Previous | Next » 

Revision 13473

bugfix: lib/runscripts/util.run: $is_runscript: unexport so don't pass it to invoked scripts

View differences:

trunk/lib/runscripts/util.run
38 38

  
39 39
# allow caller to override, eg. to force runscript mode when using $wrap_fn
40 40
: "${is_runscript=$(ends_with '[/.]run' "$top_script_abs"; exit2bool)}"
41
unexport is_runscript # don't pass to invoked scripts
41 42

  
42 43
if is_dot_script; then
43 44
	if test "$1" = .; then set --; fi # $@ wrong: no args->contains script name

Also available in: Unified diff