From 3d106cc9634265a6e1d2c4ed4c8d973cce86e00f Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Thu, 20 Dec 2012 20:18:01 +0000 Subject: utils: remove the isl directory after cloning cloog This fixes my previous commit, thanks to "Dmitry N. Mikushin" Merged from: https://llvm.org/svn/llvm-project/polly/trunk@168252 llvm-svn: 170731 --- polly/utils/checkout_cloog.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/polly/utils/checkout_cloog.sh b/polly/utils/checkout_cloog.sh index 27c977ae..3bf06a9 100755 --- a/polly/utils/checkout_cloog.sh +++ b/polly/utils/checkout_cloog.sh @@ -66,8 +66,10 @@ if [ ${IS_GIT} -eq 0 ] then echo :: Performing initial checkout # Remove the existing CLooG and ISL dirs to avoid crashing older git versions. - run rm -rf ${CLOOG_DIR} ${ISL_DIR} + cd ${CLOOG_DIR}/.. + run rm -rf ${CLOOG_DIR} run git clone http://repo.or.cz/r/cloog.git ${CLOOG_DIR} + run rm -rf ${ISL_DIR} run git clone http://repo.or.cz/r/isl.git ${ISL_DIR} fi -- cgit v1.1