aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-createbuildenv
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-09-18 15:54:40 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-09-18 15:54:40 +0000
commit65d723234bf5dcd99f083ab4d5087b75ded2cfa6 (patch)
treee05f2dfd925495b2790fda398fbf603699fb5bde /pbuilder-createbuildenv
parent86f8423f481d8e9cddcfd8da808eee600f96675a (diff)
downloadpbuilder-65d723234bf5dcd99f083ab4d5087b75ded2cfa6.tar
pbuilder-65d723234bf5dcd99f083ab4d5087b75ded2cfa6.tar.gz
fix a whole bunch of warning from shellcheck
There are still quite some, this is a first chunk based on a given patch applied where i felt confident enough. Thanks: Herbert Parentes Fortes Neto <hpfn@ig.com.br> for the initial patch-set
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-xpbuilder-createbuildenv6
1 files changed, 3 insertions, 3 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv
index 808ef1b..17ce87d 100755
--- a/pbuilder-createbuildenv
+++ b/pbuilder-createbuildenv
@@ -69,13 +69,13 @@ fi
# DEBOOTSTRAPOPTS, it will override the --include=apt one and apt might not be
# installed
if ! ( "${DEBOOTSTRAP}" \
- ${ARCHITECTURE:+--arch=$ARCHITECTURE} \
+ "${ARCHITECTURE:+--arch=$ARCHITECTURE}" \
--include=apt \
"${DEBOOTSTRAPOPTS[@]}" \
"$DISTRIBUTION" \
"$BUILDPLACE" \
"$MIRRORSITE" \
- $DEBOOTSTRAPSCRIPT ) ; then
+ "$DEBOOTSTRAPSCRIPT" ) ; then
log "E: $DEBOOTSTRAP failed"
exit 1
fi
@@ -97,7 +97,7 @@ mountproc
$TRAP umountproc_cleanbuildplace_trap exit sighup
$CHROOTEXEC /usr/bin/apt-get -q update
-case "`readlink -e "$PBUILDERSATISFYDEPENDSCMD"`" in
+case "$(readlink -e "$PBUILDERSATISFYDEPENDSCMD")" in
*-aptitude)
EXTRAPACKAGES="$EXTRAPACKAGES aptitude"
;;