fixed some shell mistakes
This commit is contained in:
parent
49ac22f17b
commit
77b32529e7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue