[llvm-commits] [polly] r170732 - /polly/branches/release_32/utils/checkout_cloog.sh
Tobias Grosser
grosser at fim.uni-passau.de
Thu Dec 20 12:18:02 PST 2012
Author: grosser
Date: Thu Dec 20 14:18:02 2012
New Revision: 170732
URL: http://llvm.org/viewvc/llvm-project?rev=170732&view=rev
Log:
utils: use rmdir instead of rm to remove empty dirs
as suggested by Sven Verdoolaege <skimo-polly at kotnet.org>
Merged from: https://llvm.org/svn/llvm-project/polly/trunk@168279
Modified:
polly/branches/release_32/utils/checkout_cloog.sh
Modified: polly/branches/release_32/utils/checkout_cloog.sh
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_32/utils/checkout_cloog.sh?rev=170732&r1=170731&r2=170732&view=diff
==============================================================================
--- polly/branches/release_32/utils/checkout_cloog.sh (original)
+++ polly/branches/release_32/utils/checkout_cloog.sh Thu Dec 20 14:18:02 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