fixed some shell mistakes

This commit is contained in:
Yann Esposito (Yogsototh) 2010-10-10 21:26:38 +02:00
parent 49ac22f17b
commit 77b32529e7

View file

@ -3,9 +3,9 @@
if [[ $HOST = "YiMac.local" ]]; then
cd $HOME/Sites/webroot
git co master
[[ ! $? ]] && { exit 1 }
(( $? == 0 )) || { exit 1 }
git pull
[[ ! $? ]] && { exit 1 }
(( $? == 0 )) || { exit 1 }
./tasks/recompile
if git status | grep 'nothing to commit'>/dev/null 2>&1; then
else