Update build system to rely on "dpkg-parsechangelog -S Version" instead of outdated...
[live-boot-grml.git] / manpages / bin / update-version.sh
index bfa6fbb..c549429 100755 (executable)
@@ -11,7 +11,7 @@
 set -e
 
 PROGRAM="LIVE\\\-BOOT"
-VERSION="$(cat ../VERSION)"
+VERSION="$(dpkg-parsechangelog -S Version)"
 
 DATE="$(LC_ALL=C date +%Y\\\\-%m\\\\-%d)"