From 769e96526bf07a2e79b378dec0abbe9572a9de8f Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 2 Oct 2015 12:05:47 +0000 Subject: 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 for the bug and the initial investigation --- pbuilder-satisfydepends-classic | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pbuilder-satisfydepends-classic') 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 -- cgit v1.2.3