From bbf660f58629f41b180a724cb206b330a4aba013 Mon Sep 17 00:00:00 2001 From: Zachary Seguin Date: Tue, 2 Feb 2016 09:22:02 -0500 Subject: [PATCH] cd before git pull --- expire-sites | 1 + 1 file changed, 1 insertion(+) diff --git a/expire-sites b/expire-sites index 757768e..b1599e9 100755 --- a/expire-sites +++ b/expire-sites @@ -17,6 +17,7 @@ if [ ! -e ${APACHEDIR} ]; then fi # Update repository +cd ${WORKDIR} echo 'Updating repository' git pull