]> granicus.if.org Git - llvm/commitdiff
Merging r242706:
authorHans Wennborg <hans@hanshq.net>
Wed, 22 Jul 2015 00:47:53 +0000 (00:47 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 22 Jul 2015 00:47:53 +0000 (00:47 +0000)
------------------------------------------------------------------------
r242706 | hans | 2015-07-20 13:36:21 -0700 (Mon, 20 Jul 2015) | 1 line

test-release.sh: don't include /usr/local prefix in the tarball
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_37@242859 91177308-0d34-0410-b5e6-96231b3b80d8

utils/release/test-release.sh

index 919cc1af172a5038a6095cbe3c3d43ea59f3358a..b34a61f0fe6467888efba220a780f99f08746205 100755 (executable)
@@ -356,13 +356,13 @@ function clean_RPATH() {
 function package_release() {
     cwd=`pwd`
     cd $BuildDir/Phase3/Release
-    mv llvmCore-$Release-$RC.install $Package
+    mv llvmCore-$Release-$RC.install/usr/local $Package
     if [ "$use_gzip" = "yes" ]; then
       tar cfz $BuildDir/$Package.tar.gz $Package
     else
       tar cfJ $BuildDir/$Package.tar.xz $Package
     fi
-    mv $Package llvmCore-$Release-$RC.install
+    mv $Package llvmCore-$Release-$RC.install/usr/local
     cd $cwd
 }