Generalizing internal LH_FORCE variable.
This commit is contained in:
parent
d3c29179ad
commit
137f573c85
|
@ -38,7 +38,7 @@ Arguments ()
|
|||
;;
|
||||
|
||||
--force)
|
||||
LH_FORCE="enabled"
|
||||
_FORCE="enabled"
|
||||
shift
|
||||
;;
|
||||
|
||||
|
|
|
@ -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}"
|
||||
|
||||
|
|
|
@ -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}"
|
||||
|
|
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue