test-release.sh: Fix naming of OpenMP runtime tarball
authorHans Wennborg <hans@hanshq.net>
Wed, 5 Aug 2015 15:36:07 +0000 (15:36 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 5 Aug 2015 15:36:07 +0000 (15:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244058 91177308-0d34-0410-b5e6-96231b3b80d8

utils/release/test-release.sh

index f2c37d0..e098346 100755 (executable)
@@ -470,7 +470,12 @@ function build_OpenMP() {
     echo "# ${MAKE} install DESTDIR=$BuildDir/Phase3/openmp.install"
     ${MAKE} install DESTDIR=$BuildDir/Phase3/openmp.install
 
-    OpenMPPackage=OpenMP-$Triple
+    OpenMPPackage=OpenMP-$Release
+    if [ $RC != "final" ]; then
+        OpenMPPackage=$OpenMPPackage-$RC
+    fi
+    OpenMPPackage=$OpenMPPackage-$Triple
+
     mv $BuildDir/Phase3/openmp.install/usr/local $BuildDir/$OpenMPPackage
     cd $BuildDir
     tar cvfJ $BuildDir/$OpenMPPackage.tar.xz $OpenMPPackage