mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-21 07:05:58 +02:00
[releng] Fix version comparer
This commit is contained in:
parent
26182b2060
commit
4f00b48890
1 changed files with 4 additions and 4 deletions
|
@ -79,12 +79,12 @@ if [ ${TYPE} = test ]; then
|
||||||
diff f2.$$.txt f1.$$.txt | grep '^[>]' \
|
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
|
| 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
|
for f in `cat f_new.txt`; do
|
||||||
fold=`grep ${f} f2.$$.txt`
|
fold=`grep "${f}\." f2.$$.txt`
|
||||||
if [ "${fold}" != "" ]; then
|
if [ "${fold}" != "" ]; then
|
||||||
echo "PROBLEM: QUALIFIER update without MICRO: ${f}"
|
echo "PROBLEM: QUALIFIER update without MICRO: ${f}"
|
||||||
fi
|
fi
|
||||||
#fbase=`echo $f | sed -e 's,\(.*_[0-9][0-9]*\.[0-9][0-9]*\)\..*,\1,'`
|
#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
|
#if [ "${fold}" = "" ]; then
|
||||||
# echo "PROBLEM: MAJOR or MINOR update : ${f}"
|
# echo "PROBLEM: MAJOR or MINOR update : ${f}"
|
||||||
#fi
|
#fi
|
||||||
|
@ -100,12 +100,12 @@ if [ ${TYPE} = test ]; then
|
||||||
diff p2.$$.txt p1.$$.txt | grep '^[>]' \
|
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
|
| 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
|
for p in `cat p_new.txt`; do
|
||||||
pold=`grep ${p} p2.$$.txt`
|
pold=`grep "${p}\." p2.$$.txt`
|
||||||
if [ "${pold}" != "" ]; then
|
if [ "${pold}" != "" ]; then
|
||||||
echo "PROBLEM: QUALIFIER update without MICRO: ${p}"
|
echo "PROBLEM: QUALIFIER update without MICRO: ${p}"
|
||||||
fi
|
fi
|
||||||
#pbase=`echo $p | sed -e 's,\(.*_[0-9][0-9]*\.[0-9][0-9]*\)\..*,\1,'`
|
#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
|
#if [ "${pold}" = "" ]; then
|
||||||
# echo "PROBLEM: MAJOR or MINOR update : ${p}"
|
# echo "PROBLEM: MAJOR or MINOR update : ${p}"
|
||||||
#fi
|
#fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue