Generalizing internal LH_FORCE variable.

This commit is contained in:
Daniel Baumann 2008-11-01 14:55:27 +01:00
parent d3c29179ad
commit 137f573c85
4 changed files with 7 additions and 12 deletions

View File

@ -38,7 +38,7 @@ Arguments ()
;;
--force)
LH_FORCE="enabled"
_FORCE="enabled"
shift
;;

View File

@ -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}"

View File

@ -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}"

View File

@ -327,11 +327,6 @@ Local_arguments ()
shift
;;
--force)
LH_FORCE="enabled"
shift
;;
--quiet)
LH_QUIET="enabled"
shift
@ -678,7 +673,7 @@ Local_arguments ()
;;
--force)
LH_FORCE="enabled"
_FORCE="enabled"
shift
;;
@ -862,9 +857,9 @@ LH_TEMPLATES="${LH_TEMPLATES}"
# (Default: ${LH_DEBUG})
#LH_DEBUG="${LH_DEBUG}"
# \$LH_FORCE: enable force
# (Default: ${LH_FORCE})
#LH_FORCE="${LH_FORCE}"
# \$_FORCE: enable force
# (Default: ${_FORCE})
#_FORCE="${_FORCE}"
# \$LH_QUIET: enable quiet
# (Default: ${LH_QUIET})