summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpolly/utils/checkout_cloog.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/utils/checkout_cloog.sh b/polly/utils/checkout_cloog.sh
index 3bf06a90c2d..2ebb1e1607a 100755
--- a/polly/utils/checkout_cloog.sh
+++ b/polly/utils/checkout_cloog.sh
@@ -67,9 +67,9 @@ then
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
OpenPOWER on IntegriCloud