From db044a79807b7fe8d9e6ce02d1bed019dc78a891 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 19 Apr 2020 22:40:36 +0200 Subject: [PATCH] also update the git version support --- debian/unpack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/unpack.sh b/debian/unpack.sh index 47619ee9..c068e866 100644 --- a/debian/unpack.sh +++ b/debian/unpack.sh @@ -16,7 +16,7 @@ tar Jxf $LLVM_ARCHIVE cd llvm-toolchain-${ORIG_VERSION}_$MAJOR_VERSION~+$VERSION/ VER_FOUND=$(grep "PACKAGE_VERSION " libcxx/CMakeLists.txt|awk '{print $2}'|cut -d\) -f1) -if test "${MAJOR_VERSION}.0.0" != "$VER_FOUND"; then +if test "${MAJOR_VERSION}.0.0" != "$VER_FOUND" -a "${MAJOR_VERSION}.0.0git" != "$VER_FOUND"; then echo "Mismatch of version" echo "Expected $MAJOR_VERSION / Found $VER_FOUND" echo "Update unpack.sh"