From 27f165a8d5ca2351d4ba0b11991981b61f33f54e Mon Sep 17 00:00:00 2001 From: George Boudreau Date: Sat, 3 Jun 2006 02:25:02 +0000 Subject: [PATCH] change extraction of tar version number, latest version is verbose --- master.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/master.sh b/master.sh index cd65c94..a62b887 100755 --- a/master.sh +++ b/master.sh @@ -415,8 +415,8 @@ echo check_version "2.6.2" "`uname -r`" "KERNEL" check_version "3.0" "$BASH_VERSION" "BASH" check_version "3.0" "`gcc -dumpversion`" "GCC" -tarVer=`tar --version` -check_version "1.15.0" "${tarVer##* }" "TAR" +tarVer=`tar --version | head -n1 | cut -d " " -f4` +check_version "1.15.0" "${tarVer}" "TAR" echo "${SD_BORDER}${nl_}" validate_config