From b686e3381cf74f35835b4a14c5190d92740078ca Mon Sep 17 00:00:00 2001 From: dancer Date: Wed, 19 Sep 2001 08:50:36 +0000 Subject: surrounding "" is removed from $CHROOTEXEC --- pbuilder-buildpackage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pbuilder-buildpackage') 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 () { -- cgit v1.2.3