try to fix snapshot

This commit is contained in:
Antoine Beaupré 2008-10-31 17:59:57 +00:00
parent b2cce1fc12
commit 695c63cff4
1 changed files with 1 additions and 1 deletions

2
debian/rules vendored
View File

@ -8,7 +8,7 @@
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
MAJOR=$(shell sed -ne 's/^[^(]*(\([^)]*\)).*/\1/;1p' debian/changelog)
REV=$(shell LANG=C svn info --non-interactive | awk '/^Revision:/ { print $$2 }')
REV=$(shell svn up > /dev/null ; env LANG=C svn info --non-interactive | awk '/^Revision:/ { print $$2 }')
VERSION="${MAJOR}~svn${REV}"
export VERSION