summaryrefslogtreecommitdiff
path: root/clean.sh
diff options
context:
space:
mode:
authorTomas Chvatal (scarabeus) <tomas.chvatal@gmail.com>2008-10-04 16:40:48 +0200
committerTomas Chvatal (scarabeus) <tomas.chvatal@gmail.com>2008-10-04 16:40:48 +0200
commit98b51161d40fd4fc5d47b14b9d4869634038b280 (patch)
tree7d9b25be81b5dac12ed852bcd61dd3e22639ae2c /clean.sh
parente2cb2bfce3e4838b777310a03ad814b2aed68250 (diff)
Fixup clean.sh again :]
Diffstat (limited to 'clean.sh')
-rwxr-xr-xclean.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/clean.sh b/clean.sh
index 395c390..73a0637 100755
--- a/clean.sh
+++ b/clean.sh
@@ -1,9 +1,7 @@
#!/usr/bin/env bash
# remove compiled files
-if [ -e "Makefile" ]; then
- make clean
-fi
+[ -e "[Mm]akefile" ] && make clean
# remove folders
find ./ -type d -name CMakeFiles -print | xargs -i rm {} -rf