From 4f00b488902434a5cd56fee7e1f307e7467358e0 Mon Sep 17 00:00:00 2001 From: Martin Oberhuber < martin.oberhuber@windriver.com> Date: Thu, 4 Mar 2010 13:54:24 +0000 Subject: [PATCH] [releng] Fix version comparer --- releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh b/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh index 4fc018183f2..9e2cc52c051 100755 --- a/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh +++ b/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh @@ -79,12 +79,12 @@ if [ ${TYPE} = test ]; then diff f2.$$.txt f1.$$.txt | grep '^[>]' \ | sed -e 's,[>] \(.*_[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)\..*,\1,' > f_new.txt for f in `cat f_new.txt`; do - fold=`grep ${f} f2.$$.txt` + fold=`grep "${f}\." f2.$$.txt` if [ "${fold}" != "" ]; then echo "PROBLEM: QUALIFIER update without MICRO: ${f}" fi #fbase=`echo $f | sed -e 's,\(.*_[0-9][0-9]*\.[0-9][0-9]*\)\..*,\1,'` - #fold=`grep ${fbase} f2.$$.txt` + #fold=`grep "${fbase}\." f2.$$.txt` #if [ "${fold}" = "" ]; then # echo "PROBLEM: MAJOR or MINOR update : ${f}" #fi @@ -100,12 +100,12 @@ if [ ${TYPE} = test ]; then diff p2.$$.txt p1.$$.txt | grep '^[>]' \ | sed -e 's,[>] \(.*_[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)\..*,\1,' > p_new.txt for p in `cat p_new.txt`; do - pold=`grep ${p} p2.$$.txt` + pold=`grep "${p}\." p2.$$.txt` if [ "${pold}" != "" ]; then echo "PROBLEM: QUALIFIER update without MICRO: ${p}" fi #pbase=`echo $p | sed -e 's,\(.*_[0-9][0-9]*\.[0-9][0-9]*\)\..*,\1,'` - #pold=`grep ${pbase} p2.$$.txt` + #pold=`grep "${pbase}\." p2.$$.txt` #if [ "${pold}" = "" ]; then # echo "PROBLEM: MAJOR or MINOR update : ${p}" #fi