From dbd414dc190291008b64d62b10dd57da745c995e Mon Sep 17 00:00:00 2001 From: Modestas Vainius Date: Sun, 20 Feb 2011 12:26:57 +0200 Subject: Fix "dpkg: * has bad syntax: invalid character in revision number" error. It used to be spit by debhelper kde buildsystem. It wasn't fatal though. --- perllib/Debian/Debhelper/Buildsystem/kde.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perllib') diff --git a/perllib/Debian/Debhelper/Buildsystem/kde.pm b/perllib/Debian/Debhelper/Buildsystem/kde.pm index c88961b..1f84451 100644 --- a/perllib/Debian/Debhelper/Buildsystem/kde.pm +++ b/perllib/Debian/Debhelper/Buildsystem/kde.pm @@ -50,7 +50,7 @@ sub configure { my @flags = $this->get_kde4_flags(); # Skip RPATH if kdelibs5-dev is older than 4:4.4.0 - my $kdever = `dpkg-query -f='\${Version}\n' -W kdelibs5-dev 2>/dev/null`; + my $kdever = `dpkg-query -f='\${Version}' -W kdelibs5-dev 2>/dev/null`; if ($kdever && system("dpkg", "--compare-versions", $kdever, "lt", "4:4.4.0") == 0) { -- cgit v1.2.3