From 4614163d81b11694afbf1ad81c4a60f2078785a2 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 13 Nov 2019 10:30:39 +0100 Subject: [PATCH] hopefully fix the repack script --- debian/orig-tar.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh index 030f9c2a..761074bf 100755 --- a/debian/orig-tar.sh +++ b/debian/orig-tar.sh @@ -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