Browse Source

Make verify-commits path-independent

0.13
Matt Corallo 9 years ago committed by Peter Todd
parent
commit
9523e8adaf
  1. 1
      contrib/verify-commits/verify-commits.sh

1
contrib/verify-commits/verify-commits.sh

@ -3,6 +3,7 @@
# shell anyone uses today supports it, so its probably fine # shell anyone uses today supports it, so its probably fine
DIR=$(dirname "$0") DIR=$(dirname "$0")
[ "/${DIR#/}" != "$DIR" ] && DIR=$(dirname "$(pwd)/$0")
echo "Please verify all commits in the following list are not evil:" echo "Please verify all commits in the following list are not evil:"
git log "$DIR" git log "$DIR"

Loading…
Cancel
Save