diff options
Diffstat (limited to 'pbuilder-satisfydepends')
-rw-r--r-- | pbuilder-satisfydepends | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pbuilder-satisfydepends b/pbuilder-satisfydepends index a299f30..a987bcc 100644 --- a/pbuilder-satisfydepends +++ b/pbuilder-satisfydepends @@ -24,7 +24,8 @@ function checkbuilddep_versiondeps () { local PACKAGE="$1" local COMPARESTRING="$2" local DEPSVERSION="$3" - local PACKAGEVERSIONS="$($CHROOTEXEC /usr/bin/apt-cache show $PACKAGE | sed -n 's/^Version: \(.*\)$/\1/p' | xargs)" + $CHROOTEXEC /usr/bin/apt-cache show "$PACKAGE" + 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; |