Project

General

Profile

« Previous | Next » 

Revision 9001

*{.sh,run}: use ${var+isset} instead of ${var+t} for clarity

View differences:

lib/util.sh
12 12
	test $# -ge 1 || set -- "${BASH_SOURCE[1]}"
13 13
	local include_guard="$(include_guard_var "$1")"
14 14
	alias self_being_included=false
15
	test -z "${!include_guard+t}" && \
15
	test -z "${!include_guard+isset}" && \
16 16
	{ eval "$include_guard"=1; alias self_being_included=true; }
17 17
}
18 18

  

Also available in: Unified diff