[llvm-commits] [polly] r168279 - /polly/trunk/utils/checkout_cloog.sh
Sebastian Pop
spop at codeaurora.org
Sat Nov 17 20:34:31 PST 2012
Author: spop
Date: Sat Nov 17 22:34:31 2012
New Revision: 168279
URL: http://llvm.org/viewvc/llvm-project?rev=168279&view=rev
Log:
utils: use rmdir instead of rm to remove empty dirs
as suggested by Sven Verdoolaege <skimo-polly at kotnet.org>
Modified:
polly/trunk/utils/checkout_cloog.sh
Modified: polly/trunk/utils/checkout_cloog.sh
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/utils/checkout_cloog.sh?rev=168279&r1=168278&r2=168279&view=diff
==============================================================================
--- polly/trunk/utils/checkout_cloog.sh (original)
+++ polly/trunk/utils/checkout_cloog.sh Sat Nov 17 22:34:31 2012
@@ -67,9 +67,9 @@
echo :: Performing initial checkout
# Remove the existing CLooG and ISL dirs to avoid crashing older git versions.
cd ${CLOOG_DIR}/..
- run rm -rf ${CLOOG_DIR}
+ run rmdir "${CLOOG_DIR}"
run git clone http://repo.or.cz/r/cloog.git ${CLOOG_DIR}
- run rm -rf ${ISL_DIR}
+ run rmdir "${ISL_DIR}"
run git clone http://repo.or.cz/r/isl.git ${ISL_DIR}
fi
More information about the llvm-commits
mailing list