verbosity fixes

This commit is contained in:
Patrick Schleizer 2015-08-10 22:58:07 +02:00
parent 0b8d27c1fb
commit d16fac0b56
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48
2 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,9 @@
#!/bin/bash #!/bin/bash
if [ "${VERBOSE}" -ge 2 -o "${DEBUG}" == "1" ]; then
set -x
fi
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Configurations # Configurations
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
@ -10,11 +14,7 @@ RETCODE=0
: ${DIST=fc14} : ${DIST=fc14}
if [ "${VERBOSE}" -ge 2 -o "${DEBUG}" == "1" ]; then set -e
set -x
else
set -e
fi
. ./builder_setup >/dev/null . ./builder_setup >/dev/null
. ./umount_kill.sh >/dev/null . ./umount_kill.sh >/dev/null

View File

@ -24,6 +24,10 @@
# ./umount_kill.sh chroot-jessie # ./umount_kill.sh chroot-jessie
# #
if [ "$VERBOSE" -ge 2 -o "$DEBUG" == "1" ]; then
set -x
fi
. ./functions.sh . ./functions.sh
mountPoint() { mountPoint() {