about summary refs log tree commit diff
path: root/contrib/platformtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/platformtest.sh')
-rwxr-xr-xcontrib/platformtest.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/platformtest.sh b/contrib/platformtest.sh
index dfefc1aa..f34a8894 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"