summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-30 14:31:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-30 14:31:41 +0000
commit2d14fce57e02cde84a6c436ccebb743991216909 (patch)
tree234105927a45b0e68dab7acd5437760e37e409a1 /scripts
parent2002-01-29 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-2d14fce57e02cde84a6c436ccebb743991216909.tar.bz2
2001-01-30 Joel Sherrill <joel@OARcorp.com>
* buildall.in: Corrected logic for detecting when no RPMs are installed.
Diffstat (limited to 'scripts')
-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: