From 6d8e4317083674ca1f816fd8e5717422492d8434 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 10 Jun 2010 13:27:27 +0000 Subject: [PATCH] 0020906: [CEA] InstallWizard 5.1.4rc2 --- config_files/graphviz-2.24.0.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config_files/graphviz-2.24.0.sh b/config_files/graphviz-2.24.0.sh index 785256a..8d4df0f 100755 --- a/config_files/graphviz-2.24.0.sh +++ b/config_files/graphviz-2.24.0.sh @@ -16,7 +16,7 @@ check_version() { isdot=`which dot 2>/dev/null` if [ -n "$isdot" ]; then - ver=`dot -V 2>&1 | sed -e "s%[A-z-]%%g" | awk '{print $1}'` + ver=`dot -V 2>&1 | sed -e "s%[A-Za-z-]%%g" | awk '{print $1}'` maj_ver=`echo $ver | awk -F. '{if(NF>0) print $1; else print 0}' | sed -e 's/^\([0-9]*\).*$/\1/'` min_ver=`echo $ver | awk -F. '{if(NF>1) print $2; else print 0}' | sed -e 's/^\([0-9]*\).*$/\1/'` rel_ver=`echo $ver | awk -F. '{if(NF>2) print $3; else print 0}' | sed -e 's/^\([0-9]*\).*$/\1/'` -- 2.39.2