Skip to content

Commit

Permalink
Throw out any local changes that might interfere with updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
dak180 committed Aug 19, 2016
1 parent 2e311ed commit 128cd2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfupdate-mirror/fink-info-git
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if ! git fetch origin; then
exit 1
fi
# Be sure we are on the right branch and then update.
git checkout master
git checkout -f master
if [ "$(git rev-parse master)" = "$(git rev-parse origin/master)" ]; then
# If we do not need to update the we are done.
date -u +%s > "${FIROOT}/finkinfo/LOCAL"
Expand Down

0 comments on commit 128cd2a

Please sign in to comment.