Project

General

Profile

« Previous | Next » 

Revision 9237

*{.sh,run}: use new local_export instead of local...export. this still requires calling echo_vars manually, because local_export is an alias (and must be, to define the var in the caller's context).

View differences:

make.sh
35 35
inline_make()
36 36
{
37 37
	echo_func
38
	local self="$(readlink -f "${BASH_SOURCE[1]}")"
39
	local self_dir="$(dirname "$self")"
40
	export self self_dir
38
	local_export self="$(readlink -f "${BASH_SOURCE[1]}")"; echo_vars self
39
	local_export self_dir="$(dirname "$self")"; echo_vars self_dir
41 40
	
42 41
	make --makefile=<((
43 42
		cat /dev/fd/10

Also available in: Unified diff