diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | pbuilder-satisfydepends | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2002-10-30 Junichi Uekawa <dancer@debian.org> + + * pbuilder-satisfydepends: make CHROOTEXEC invocation to make + it less ambiguous, for versiondeps. + 2002-10-29 Junichi Uekawa <dancer@debian.org> * pbuilder-buildpackage-funcs: unset LOGNAME diff --git a/pbuilder-satisfydepends b/pbuilder-satisfydepends index a987bcc..7de51d4 100644 --- a/pbuilder-satisfydepends +++ b/pbuilder-satisfydepends @@ -25,7 +25,7 @@ function checkbuilddep_versiondeps () { local COMPARESTRING="$2" local DEPSVERSION="$3" $CHROOTEXEC /usr/bin/apt-cache show "$PACKAGE" - local PACKAGEVERSIONS=$($CHROOTEXEC /usr/bin/apt-cache show "$PACKAGE" | sed -n 's/^Version: \(.*\)$/\1/p' | xargs) + local PACKAGEVERSIONS=$( ( $CHROOTEXEC /usr/bin/apt-cache show "$PACKAGE" ) | sed -n 's/^Version: \(.*\)$/\1/p' | xargs) # no versioned provides. if [ "${FORCEVERSION}" = "yes" ]; then return 0; |