aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
authordancer <dancer>2001-09-19 08:50:36 +0000
committerdancer <dancer>2001-09-19 08:50:36 +0000
commitb686e3381cf74f35835b4a14c5190d92740078ca (patch)
tree295c3815b309dec9f24e2aefec418d200a1e009a /pbuilder-buildpackage
parent8601628f1ace9fe2222e0ea59b05b99e550b890b (diff)
downloadpbuilder-b686e3381cf74f35835b4a14c5190d92740078ca.tar
pbuilder-b686e3381cf74f35835b4a14c5190d92740078ca.tar.gz
surrounding "" is removed from $CHROOTEXEC
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-xpbuilder-buildpackage4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index a0ac3b4..ccd061b 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -18,7 +18,7 @@ function checkbuilddep_versiondeps () {
local PACKAGE="$1"
local COMPARESTRING="$2"
local DEPSVERSION="$3"
- local PACKAGEVERSION=$("$CHROOTEXEC" usr/bin/apt-cache show $PACKAGE | grep "^Version:" | sort | head -1 | sed 's/^Version: \(.*\)$/\1/')
+ local PACKAGEVERSION=$($CHROOTEXEC usr/bin/apt-cache show $PACKAGE | grep "^Version:" | sort | head -1 | sed 's/^Version: \(.*\)$/\1/')
# no versioned provides.
if dpkg --compare-versions "$PACKAGEVERSION" "$COMPARESTRING" "$DEPSVERSION"; then
# satisfies depends
@@ -48,7 +48,7 @@ function checkbuilddep_archdeps () {
function checkbuilddep_provides () {
local PACKAGENAME="$1"
- PROVIDED=$("$CHROOTEXEC" usr/bin/apt-cache showpkg $PACKAGENAME | awk '{p=0}/^Reverse Provides:/,/^$/{p=1}{if(p && ($0 !~ "Reverse Provides:")){PACKAGE=$1}} END{print PACKAGE}')
+ PROVIDED=$($CHROOTEXEC usr/bin/apt-cache showpkg $PACKAGENAME | awk '{p=0}/^Reverse Provides:/,/^$/{p=1}{if(p && ($0 !~ "Reverse Provides:")){PACKAGE=$1}} END{print PACKAGE}')
}
function checkbuilddep_internal () {