2001-01-30 Joel Sherrill <joel@OARcorp.com>

* buildall.in: Corrected logic for detecting when no RPMs are installed.
This commit is contained in:
Joel Sherrill
2002-01-30 14:31:41 +00:00
parent 604bbcc8e6
commit 2d14fce57e
2 changed files with 5 additions and 1 deletions

View File

@@ -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> 2001-01-24 Joel Sherrill <joel@OARcorp.com>
* README: Added Canadian Cross instructions. * README: Added Canadian Cross instructions.

View File

@@ -95,7 +95,7 @@ if [ ${testing} = yes ] ; then
ECHO=echo ECHO=echo
fi 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 if [ ${installed_count} -ne 0 ] ; then
echo This script should be run with NO rtems RPMs installed. echo This script should be run with NO rtems RPMs installed.
echo It appears that the following rtems RPMs are installed: echo It appears that the following rtems RPMs are installed: