Removed the automatic computation of the revision number.
[selector.git] / mkdeb.sh
index 51d023a..cc69852 100755 (executable)
--- a/mkdeb.sh
+++ b/mkdeb.sh
@@ -25,7 +25,7 @@
 # This script creates the Debian package. The way it does it is
 # probably not very conventional. I am open to suggestions.
 
-VERSION=1.0-R`git log | grep ^commit | wc -l | sed -e "s/[^0-9]//g"`
+VERSION=1.0-R$(cat REVISION_NUMBER)
 PACKAGE=/tmp/selector_${VERSION}_i386.deb
 BIN_PATH="usr/bin"
 MAN_PATH="usr/share/man/man1"