From d736b530c1c863f594d6a69dc858f3439aa1173a Mon Sep 17 00:00:00 2001 From: iwconfig Date: Sat, 27 Apr 2019 18:48:33 +0200 Subject: [PATCH] bugfix: first thing to do is to go to the git repository --- src/cronjob.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cronjob.sh b/src/cronjob.sh index 4596a34..257ba53 100755 --- a/src/cronjob.sh +++ b/src/cronjob.sh @@ -76,9 +76,9 @@ fi # main +cd $DIR || error "Could not change directory to $DIR" git config credential.helper store git config --local core.hooksPath "$(git rev-parse --show-toplevel)/src/.githooks/" -cd $DIR || error "Could not change directory to $DIR" echo "Pulling a clean slate of remote git repository..." git checkout master ## ensure we're on master branch