Module: ngircd.git Branch: master Commit: 1f5508d0497f1cace5a482fcd7f50ecfce0715f7 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=1f550...
Author: Alexander Barton alex@barton.de Date: Sat Jan 11 01:32:12 2014 +0100
platformtest.sh: Show only up to 10 bytes of version information
---
contrib/platformtest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/platformtest.sh b/contrib/platformtest.sh index dfefc1a..f34a889 100755 --- a/contrib/platformtest.sh +++ b/contrib/platformtest.sh @@ -151,8 +151,8 @@ fi # Get ngIRCd version information eval $(grep "^VERSION = " Makefile | sed -e 's/ //g') case "$VERSION" in - *-*-*) - VERSION=`echo "$VERSION" | cut -d'-' -f3 | cut -b2-` + *~*-*) + VERSION=`echo "$VERSION" | cut -b1-10` ;; esac [ -n "$VERSION" ] || VERSION="unknown"