forked from OSchip/llvm-project
utils: use rmdir instead of rm to remove empty dirs
as suggested by Sven Verdoolaege <skimo-polly@kotnet.org> llvm-svn: 168279
This commit is contained in:
parent
3424550294
commit
bea5a36b01
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue