commit - 4f1b5400e90f2e5107eda8e4f4f8e0b4e2beb14d
commit + 513a75c9195f480b25a6bbd605a00ef066636211
blob - aee7f2996f509b72a98ddaf0b6d3ab6f68e7dfa1
blob + 0a518b8a7df0ad70d6eea687822c56cb3c7df2fa
--- contrib/platformtest.sh
+++ contrib/platformtest.sh
# Get ngIRCd version information
if [ -d ".git" ]; then
VERSION=`git log --abbrev-commit --pretty=oneline HEAD~1.. \
- | cut -d' ' -f1 | tr -d '.'`
+ | head -1 | cut -d' ' -f1 | tr -d '.'`
elif [ -r "Makefile" ]; then
eval $(grep "^VERSION = " Makefile | sed -e 's/ //g')
fi