]> arthur.barton.de Git - ngircd-alex.git/blobdiff - contrib/platformtest.sh
New configuration option "SyslogFacility"
[ngircd-alex.git] / contrib / platformtest.sh
index aee7f2996f509b72a98ddaf0b6d3ab6f68e7dfa1..0a518b8a7df0ad70d6eea687822c56cb3c7df2fa 100755 (executable)
@@ -105,7 +105,7 @@ fi
 # 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