Skip to content

Commit

Permalink
bugfix: first thing to do is to go to the git repository
Browse files Browse the repository at this point in the history
  • Loading branch information
iwconfig committed Apr 27, 2019
1 parent a5050ee commit d736b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cronjob.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d736b53

Please sign in to comment.