aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-classic
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-10-02 12:05:47 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-10-02 12:05:47 +0000
commit769e96526bf07a2e79b378dec0abbe9572a9de8f (patch)
tree50d05e42fff14c05c1886fcab8942f0e5c79e07d /pbuilder-satisfydepends-classic
parentb936871004724414984808f17765f10943611250 (diff)
downloadpbuilder-769e96526bf07a2e79b378dec0abbe9572a9de8f.tar
pbuilder-769e96526bf07a2e79b378dec0abbe9572a9de8f.tar.gz
satisfydepends-classic: remove wrong quotes from get_dep_op_and_ver() invocations
get_dep_op_and_ver() returns a space separated string which is supposed to be used that way. Closes: #800628 Thanks: Daniel Schepler <dschepler@gmail.com> for the bug and the initial investigation
Diffstat (limited to 'pbuilder-satisfydepends-classic')
-rwxr-xr-xpbuilder-satisfydepends-classic4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-satisfydepends-classic b/pbuilder-satisfydepends-classic
index c7bab1e..dc84d70 100755
--- a/pbuilder-satisfydepends-classic
+++ b/pbuilder-satisfydepends-classic
@@ -90,7 +90,7 @@ checkbuilddep_internal() {
fi
if echo "$INSTALLPKG" | grep -q '('; then
#echo "Debug: $INSTALLPKG"
- if ! checkbuilddep_versiondeps "$CURRENTREALPKGNAME" "$(get_dep_op_and_ver "$INSTALLPKG")"; then
+ if ! checkbuilddep_versiondeps "$CURRENTREALPKGNAME" $(get_dep_op_and_ver "$INSTALLPKG"); then
echo " -> Does not satisfy version, not trying"
continue
fi
@@ -167,7 +167,7 @@ checkbuilddep_internal() {
fi
if echo "$INSTALLPKG" | grep -q '('; then
# this package has version-conflicts
- if ! checkbuilddep_versiondeps "$CURRENTREALPKGNAME" "$(get_dep_op_and_ver "$INSTALLPKG")"; then
+ if ! checkbuilddep_versiondeps "$CURRENTREALPKGNAME" $(get_dep_op_and_ver "$INSTALLPKG"); then
echo "I: Satisfies version, not trying"
continue
fi