aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-gdebi
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-satisfydepends-gdebi
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-satisfydepends-gdebi')
-rw-r--r--pbuilder-satisfydepends-gdebi4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-satisfydepends-gdebi b/pbuilder-satisfydepends-gdebi
index bdf812d..3bd3cf7 100644
--- a/pbuilder-satisfydepends-gdebi
+++ b/pbuilder-satisfydepends-gdebi
@@ -30,12 +30,12 @@ function checkbuilddep_internal () {
NO_RECOMMENDS=""
if VERSION=$(/usr/bin/gdebi --version 2>/dev/null); then
- if dpkg --compare-versions $VERSION ge 0.3.9; then
+ if dpkg --compare-versions "$VERSION" ge 0.3.9; then
NO_RECOMMENDS="-o APT::Install-Recommends=false"
fi
fi
- INSTALL=$(/usr/bin/gdebi --quiet --root $CHROOT --apt-line $NO_RECOMMENDS $DEBIAN_CONTROL)
+ INSTALL=$(/usr/bin/gdebi --quiet --root "$CHROOT" --apt-line "$NO_RECOMMENDS" "$DEBIAN_CONTROL")
$CHROOTEXEC /usr/bin/apt-get install -y "${APTGETOPT[@]}" $INSTALL
}