From: Stefano Rivera Date: Fri, 11 Sep 2015 01:02:15 +0000 (-0700) Subject: Compatibility with dpkg-dev < 1.17.21 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=3bd6284d3e893d9b73da7cd86dcdd1759322bcd0;p=exar-uart-driver.git Compatibility with dpkg-dev < 1.17.21 --- diff --git a/debian/install b/debian/install index 19ed01f..c4272c8 100755 --- a/debian/install +++ b/debian/install @@ -2,7 +2,7 @@ set -eu -VERSION=$(dpkg-parsechangelog -S Version | cut -d- -f 1) +VERSION=$(dpkg-parsechangelog | sed -rne 's,^Version: (.+)-.*,\1,p') SRC=/usr/src/vizzini-$VERSION cat <