fix the unpack.sh script

This commit is contained in:
Sylvestre Ledru 2020-01-20 22:11:15 +01:00
parent a83617d1bd
commit cb1ae5a331

5
debian/unpack.sh vendored
View File

@ -1,8 +1,9 @@
set -e
ORIG_VERSION=snapshot
ORIG_VERSION=10
MAJOR_VERSION=10 # 8.0.1
REV=`ls -1 *${ORIG_VERSION}_${MAJOR_VERSION}*~+*xz | tail -1|perl -ne 'print "$1\n" if /~\+(.*)\.orig/;' | sort -ru`
REV=`ls -1 *$ORIG_VERSION_$MAJOR_VERSION*~+*xz | tail -1|perl -ne 'print "$1\n" if /~\+(.*)\.orig/;' | sort -ru`
#SVN_REV=347285
VERSION=$REV
#VERSION=+rc3