Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Unified Diff: tools/clang/scripts/repackage.sh

Issue 589773002: r287585, repackage edition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/scripts/repackage.sh
diff --git a/tools/clang/scripts/repackage.sh b/tools/clang/scripts/repackage.sh
index 3f7f1602e8f8e6c16717d61ecdd4583caf67376a..cf4f85898aa9cd0c3d68a23387ed790d77d48794 100755
--- a/tools/clang/scripts/repackage.sh
+++ b/tools/clang/scripts/repackage.sh
@@ -55,7 +55,11 @@ if [ -f "$LLVM_LIB_DIR/$LIBFILE" ]; then
fi
cp $PDIR/lib/$LIBFILE "$LLVM_LIB_DIR/"
-tar zcf ${PDIR}_repack.tgz -C "$LLVM_TAR_DIR" bin lib buildlog.txt
+if [ "$(uname -s)" = "Darwin" ]; then
+ tar zcf ${PDIR}_repack.tgz -C "$LLVM_TAR_DIR" bin include lib buildlog.txt
hans 2014/09/19 22:52:29 tar: include: Cannot stat: No such file or directo
Nico 2014/09/19 23:01:27 I think that's because our current package is brok
+else
+ tar zcf ${PDIR}_repack.tgz -C "$LLVM_TAR_DIR" bin lib buildlog.txt
+fi
echo The clang package has been repackaged with $LIBNAME
echo To upload, run:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698