Make verify-commits path-independent

This commit is contained in:
Matt Corallo 2016-05-21 01:44:29 -07:00 committed by Peter Todd
parent f7d4a25fe6
commit 9523e8adaf

View File

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