cd before git pull
authorZachary Seguin <ztseguin@csclub.uwaterloo.ca>
Tue, 2 Feb 2016 14:22:02 +0000 (09:22 -0500)
committerZachary Seguin <ztseguin@csclub.uwaterloo.ca>
Tue, 2 Feb 2016 14:22:02 +0000 (09:22 -0500)
expire-sites

index 757768e..b1599e9 100755 (executable)
@@ -17,6 +17,7 @@ if [ ! -e ${APACHEDIR} ]; then
 fi
 
 # Update repository
+cd ${WORKDIR}
 echo 'Updating repository'
 git pull