hopefully fix the repack script

This commit is contained in:
Sylvestre Ledru 2019-11-13 10:30:39 +01:00
parent e7c0c92881
commit 4614163d81

1
debian/orig-tar.sh vendored
View File

@ -91,6 +91,7 @@ cd llvm-project
if test -z "$TAG" -a -z "$FINAL_RELEASE"; then
# Building a branch
git checkout $BRANCH
git reset --hard origin/$BRANCH
if test $BRANCH != "master"; then
VERSION=$(echo $BRANCH|cut -d/ -f2|cut -d. -f1)
if ! echo "$MAJOR_VERSION"|grep -q "$VERSION"; then