1
1
Fork 0

changed test.sh

This commit is contained in:
David Starzengruber 2011-01-20 23:06:39 +01:00
parent 130feaab6f
commit b9605672e4
1 changed files with 8 additions and 3 deletions

11
test.sh
View File

@ -7,10 +7,15 @@ update()
git pull origin master
}
if [ $1 = "update" ]; then
update
if [ -z $1 ]; then
var="nothing"
else
var=$1
fi
if [ $var = "update" ]; then
update
exit 0
fi
echo "end of script"