Generalizing internal LH_VERBOSE variable.

This commit is contained in:
Daniel Baumann 2008-11-01 15:01:33 +01:00
parent cb0894b3b3
commit ad6b01b388
9 changed files with 12 additions and 17 deletions

View File

@ -58,7 +58,7 @@ Arguments ()
;;
--verbose)
LH_VERBOSE="enabled"
_VERBOSE="enabled"
shift
;;

View File

@ -224,7 +224,7 @@ Set_defaults ()
_DEBUG="${_DEBUG:-disabled}"
_FORCE="${_FORCE:-disabled}"
_QUIET="${_QUIET:-disabled}"
LH_VERBOSE="${LH_VERBOSE:-disabled}"
_VERBOSE="${_VERBOSE:-disabled}"
## config/bootstrap

View File

@ -70,7 +70,7 @@ Echo_verbose ()
STRING="${1}"
shift
if [ "${LH_VERBOSE}" = "enabled" ]
if [ "${_VERBOSE}" = "enabled" ]
then
if [ "${_L10N}" = "false" ]
then

View File

@ -71,7 +71,7 @@ then
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -quiet"
fi
if [ "${LH_VERBOSE}" = "enabled" ]
if [ "${_VERBOSE}" = "enabled" ]
then
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -v"
fi

View File

@ -249,7 +249,7 @@ case "${LH_CHROOT_FILESYSTEM}" in
MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -no-progress"
fi
if [ "${LH_VERBOSE}" = "enabled" ]
if [ "${_VERBOSE}" = "enabled" ]
then
MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -info"
fi

View File

@ -114,7 +114,7 @@ then
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --quiet"
fi
if [ "${LH_VERBOSE}" = "enabled" ]
if [ "${_VERBOSE}" = "enabled" ]
then
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --verbose"
fi

View File

@ -104,7 +104,7 @@ else
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=fakechroot"
fi
if [ "${LH_VERBOSE}" = "true" ]
if [ "${_VERBOSE}" = "true" ]
then
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --verbose"
fi

View File

@ -322,11 +322,6 @@ Local_arguments ()
shift
;;
--verbose)
LH_VERBOSE="enabled"
shift
;;
-v|--version)
Version
shift
@ -687,7 +682,7 @@ Local_arguments ()
;;
--verbose)
LH_VERBOSE="enabled"
_VERBOSE="enabled"
shift
;;
@ -855,9 +850,9 @@ LH_TEMPLATES="${LH_TEMPLATES}"
# (Default: ${_QUIET})
_QUIET="${_QUIET}"
# \$LH_VERBOSE: enable verbose
# (Default: ${LH_VERBOSE})
#LH_VERBOSE="${LH_VERBOSE}"
# \$_VERBOSE: enable verbose
# (Default: ${_VERBOSE})
#_VERBOSE="${_VERBOSE}"
# Internal stuff (FIXME)
APT_OPTIONS="${APT_OPTIONS}"

View File

@ -69,7 +69,7 @@ then
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -quiet"
fi
if [ "${LH_VERBOSE}" = "enabled" ]
if [ "${_VERBOSE}" = "enabled" ]
then
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -v"
fi