diff options
| author | Alexander Barton <alex@barton.de> | 2014-01-11 01:32:12 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2014-01-11 01:32:13 +0100 |
| commit | 1f5508d0497f1cace5a482fcd7f50ecfce0715f7 (patch) | |
| tree | c1fbe3c4a95da01b19917c98586de81fad9f78bd | |
| parent | 97b4fd8a086af9d4a979e8fa3a714352fcffdca3 (diff) | |
| download | ngircd-1f5508d0497f1cace5a482fcd7f50ecfce0715f7.tar.gz ngircd-1f5508d0497f1cace5a482fcd7f50ecfce0715f7.zip | |
platformtest.sh: Show only up to 10 bytes of version information
| -rwxr-xr-x | contrib/platformtest.sh | 4 |
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" |