summaryrefslogtreecommitdiff
path: root/perllib
diff options
context:
space:
mode:
authorModestas Vainius <modestas@vainius.eu>2011-02-20 12:26:57 +0200
committerModestas Vainius <modestas@vainius.eu>2011-02-20 12:26:57 +0200
commitdbd414dc190291008b64d62b10dd57da745c995e (patch)
treed8362273b406479212fe8147d5f01e3a5383450b /perllib
parent7bd650a4b7991cfcc5d8c65382c79896c296a921 (diff)
downloadpkg-kde-tools-dbd414dc190291008b64d62b10dd57da745c995e.tar.gz
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.
Diffstat (limited to 'perllib')
-rw-r--r--perllib/Debian/Debhelper/Buildsystem/kde.pm2
1 files changed, 1 insertions, 1 deletions
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)
{