summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/ChangeLog4
-rwxr-xr-xscripts/buildall.in2
2 files changed, 5 insertions, 1 deletions
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 <joel@OARcorp.com>
+
+ * buildall.in: Corrected logic for detecting when no RPMs are installed.
+
2001-01-24 Joel Sherrill <joel@OARcorp.com>
* 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: