Index: tools/clang/scripts/package.sh |
diff --git a/tools/clang/scripts/package.sh b/tools/clang/scripts/package.sh |
index 0c76601b21bb0b1d56d921e637607c6f1016cf66..993f69468e19b0e688c1e1540db645781826b5b4 100755 |
--- a/tools/clang/scripts/package.sh |
+++ b/tools/clang/scripts/package.sh |
@@ -106,8 +106,10 @@ if [ "$(uname -s)" = "Darwin" ]; then |
fi |
# Copy libc++ headers. |
-mkdir $PDIR/include |
-cp -R "${LLVM_BOOTSTRAP_INSTALL_DIR}/include/c++" $PDIR/include |
+if [ "$(uname -s)" = "Darwin" ]; then |
+ mkdir $PDIR/include |
+ cp -R "${LLVM_BOOTSTRAP_INSTALL_DIR}/include/c++" $PDIR/include |
+fi |
# Copy plugins. Some of the dylibs are pretty big, so copy only the ones we |
# care about. |