diff options
| author | Daniel Baumann <daniel@debian.org> | 2008-11-01 14:55:27 +0100 | 
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:43 +0100 | 
| commit | 137f573c859d7b60192fbee65a418cf6c75acca2 (patch) | |
| tree | 4106e5b9dbb5ac2e63298d6846d329e8f876bc36 /functions | |
| parent | d3c29179ad1f408389d7819ae287d45a323f780b (diff) | |
| download | vyos-live-build-137f573c859d7b60192fbee65a418cf6c75acca2.tar.gz vyos-live-build-137f573c859d7b60192fbee65a418cf6c75acca2.zip  | |
Generalizing internal LH_FORCE variable.
Diffstat (limited to 'functions')
| -rwxr-xr-x | functions/arguments.sh | 2 | ||||
| -rwxr-xr-x | functions/defaults.sh | 2 | ||||
| -rwxr-xr-x | functions/stagefile.sh | 2 | 
3 files changed, 3 insertions, 3 deletions
diff --git a/functions/arguments.sh b/functions/arguments.sh index 4c476d2eb..6c967d9c8 100755 --- a/functions/arguments.sh +++ b/functions/arguments.sh @@ -38,7 +38,7 @@ Arguments ()  				;;  			--force) -				LH_FORCE="enabled" +				_FORCE="enabled"  				shift  				;; diff --git a/functions/defaults.sh b/functions/defaults.sh index bc4e839bd..e8e9f36a3 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -222,7 +222,7 @@ Set_defaults ()  	# Setting live helper options  	LH_BREAKPOINTS="${LH_BREAKPOINTS:-disabled}"  	LH_DEBUG="${LH_DEBUG:-disabled}" -	LH_FORCE="${LH_FORCE:-disabled}" +	_FORCE="${_FORCE:-disabled}"  	LH_QUIET="${LH_QUIET:-disabled}"  	LH_VERBOSE="${LH_VERBOSE:-disabled}" diff --git a/functions/stagefile.sh b/functions/stagefile.sh index e116a78b9..2164269f2 100755 --- a/functions/stagefile.sh +++ b/functions/stagefile.sh @@ -15,7 +15,7 @@ Check_stagefile ()  	# Checking stage file  	if [ -f "${FILE}" ]  	then -		if [ "${LH_FORCE}" != "enabled" ] +		if [ "${_FORCE}" != "enabled" ]  		then  			# Skipping execution  			Echo_warning "skipping %s" "${NAME}"  | 
