summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromega <marco.biasco@gmail.com>2009-08-20 12:57:52 +0200
committeromega <marco.biasco@gmail.com>2009-08-20 12:57:52 +0200
commit566b378dff58fb9a0758d0c6df68849b1d72f706 (patch)
tree7cd695d957836a08168b92f5b92bbdb76324d600
parenta65987c08feba909ea01f88e430788fa78792b0b (diff)
downloadscripts-566b378dff58fb9a0758d0c6df68849b1d72f706.tar.gz
scripts-566b378dff58fb9a0758d0c6df68849b1d72f706.tar.bz2
Fix last commit
-rwxr-xr-xgit-compiz4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-compiz b/git-compiz
index 37499a2..29dde0d 100755
--- a/git-compiz
+++ b/git-compiz
@@ -398,7 +398,7 @@ printinfo space
spinner()
{
MESSAGE=$@
-if [ x$DEBUG == "false" ]; then
+if [ x$DEBUG == x"false" ]; then
until test -f $LOGDIR/stop; do
echo -en "\r | $MESSAGE"
sleep 0.1
@@ -410,10 +410,10 @@ if [ x$DEBUG == "false" ]; then
sleep 0.1
done
echo -e "\r * $MESSAGE"
+ rm $LOGDIR/stop
else
echo " * $MESSAGE"
fi
-rm $LOGDIR/stop
}
## Checks if a local directory for $1 exist (last part of it),