also update the git version support

This commit is contained in:
Sylvestre Ledru 2020-04-19 22:40:36 +02:00
parent ef17048a5a
commit db044a7980

2
debian/unpack.sh vendored
View File

@ -16,7 +16,7 @@ tar Jxf $LLVM_ARCHIVE
cd llvm-toolchain-${ORIG_VERSION}_$MAJOR_VERSION~+$VERSION/ cd llvm-toolchain-${ORIG_VERSION}_$MAJOR_VERSION~+$VERSION/
VER_FOUND=$(grep "PACKAGE_VERSION " libcxx/CMakeLists.txt|awk '{print $2}'|cut -d\) -f1) 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 "Mismatch of version"
echo "Expected $MAJOR_VERSION / Found $VER_FOUND" echo "Expected $MAJOR_VERSION / Found $VER_FOUND"
echo "Update unpack.sh" echo "Update unpack.sh"