Project

General

Profile

« Previous | Next » 

Revision 9297

bugfix: lib/sh/util.sh: fwd(): need to use $top_dir (the runscript's file) instead of "${BASH_SOURCE1}" (the caller's file)

View differences:

lib/sh/util.sh
499 499
	echo_func
500 500
	: "${subdirs?}"
501 501
	
502
	for subdir in "${subdirs[@]}"; do
503
		"$(dirname "${BASH_SOURCE[1]}")"/"$subdir"/run "$@"
504
	done
502
	for subdir in "${subdirs[@]}"; do "$top_dir"/"$subdir"/run "$@"; done
505 503
}
506 504

  
507 505

  

Also available in: Unified diff