summaryrefslogtreecommitdiff
path: root/git-compiz
diff options
context:
space:
mode:
authoromega <marco.biasco@gmail.com>2009-03-31 13:49:57 +0200
committeromega <marco.biasco@gmail.com>2009-03-31 13:49:57 +0200
commiteb733238a114dd3d49a7733bb8a503b49472bd03 (patch)
treed1ff4de5208e39fa9b4a7195ab7f97ac12ae1078 /git-compiz
parente2521b1805083aeeeb12cee647e60e9f77d91b34 (diff)
downloadscripts-eb733238a114dd3d49a7733bb8a503b49472bd03.tar.gz
scripts-eb733238a114dd3d49a7733bb8a503b49472bd03.tar.bz2
Minor update
Diffstat (limited to 'git-compiz')
-rwxr-xr-xgit-compiz8
1 files changed, 5 insertions, 3 deletions
diff --git a/git-compiz b/git-compiz
index a7c70ff..9f1c6eb 100755
--- a/git-compiz
+++ b/git-compiz
@@ -313,6 +313,9 @@ case $1 in
error)
echo " -> $OTHER_ARGS" | tee -a $LOG_FILE
;;
+ warning)
+ echo " WARNING: $OTHER_ARGS" | tee -a $LOG_FILE
+ ;;
esac
}
@@ -483,12 +486,11 @@ cd $1
printinfo info $INFO_CLEAN;
logcmd echo
if [ -d build -a -f CMakeLists.txt ]; then
- rm -rf build &> /dev/null
+ root rm -rf build
fi
logcmd make clean
if [ $? -ne 0 ]; then
- printinfo info $WARNING_CLEAN;
- printinfo space
+ printinfo warning $WARNING_CLEAN;
cd $CPWD
return 1
fi