We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c85b4da + e477bf4 commit 81a516cCopy full SHA for 81a516c
configure.ac
@@ -182,7 +182,7 @@ else
182
fi
183
AC_SUBST(NODEJS_SUPPORT_PO2JSON)
184
185
-VERSION=`dpkg-parsechangelog | $SED -n 's/^Version: //p'`
+VERSION=`head -n1 $PWD/debian/changelog | $AWK -F'[[()]]' '{print $2}'`
186
PACKAGE_VERSION="$VERSION"
187
PACKAGE_STRING="$PACKAGE_NAME $PACKAGE_VERSION"
188
AC_DEFINE_UNQUOTED(VERSION, ["$VERSION"], [Version number of package])
0 commit comments