From 2d14fce57e02cde84a6c436ccebb743991216909 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 30 Jan 2002 14:31:41 +0000 Subject: 2001-01-30 Joel Sherrill * buildall.in: Corrected logic for detecting when no RPMs are installed. --- scripts/ChangeLog | 4 ++++ scripts/buildall.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/ChangeLog b/scripts/ChangeLog index 4db2702742..d6cbe4c0a2 100644 --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2001-01-30 Joel Sherrill + + * buildall.in: Corrected logic for detecting when no RPMs are installed. + 2001-01-24 Joel Sherrill * README: Added Canadian Cross instructions. diff --git a/scripts/buildall.in b/scripts/buildall.in index ef13b8e82c..c46dc34d1b 100755 --- a/scripts/buildall.in +++ b/scripts/buildall.in @@ -95,7 +95,7 @@ if [ ${testing} = yes ] ; then ECHO=echo fi -installed_count=`rpm -q -g rtems | wc -l` +installed_count=`rpm -q -g rtems | grep -v "does not contain" | wc -l` if [ ${installed_count} -ne 0 ] ; then echo This script should be run with NO rtems RPMs installed. echo It appears that the following rtems RPMs are installed: -- cgit v1.2.3