summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-04-08 11:48:33 -0400
committerJoey Hess <joey@kitenet.net>2011-04-08 11:48:33 -0400
commit8ab67eded30d05a613d1f0f8c6c5420d8fe93948 (patch)
treeaed50d5a2fdf1d31f67bdf05f1e3d2d273f5e395 /functions
parentc72e1705e402c17255493a7c3062b3cc86ac3b72 (diff)
downloaddebootstrap-8ab67eded30d05a613d1f0f8c6c5420d8fe93948.tar.gz
Clear all global variables used for options, so that unclean environment doesn't break debootstrap. Closes: #621657
With the notable exception of SHA_SIZE, which is used to communicate with debootstrap. Also, upper-cased a few global variables.
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index f0ffe10..46f4b78 100644
--- a/functions
+++ b/functions
@@ -61,7 +61,7 @@ progress_next () {
}
wgetprogress () {
- [ ! "$verbose" ] && QSWITCH="-q"
+ [ ! "$VERBOSE" ] && QSWITCH="-q"
local ret=0
if [ "$USE_DEBIANINSTALLER_INTERACTION" ] && [ "$PROGRESS_NEXT" ]; then
wget "$@" 2>&1 >/dev/null | $PKGDETAILS "WGET%" $PROGRESS_NOW $PROGRESS_NEXT $PROGRESS_END >&3