summaryrefslogtreecommitdiffstats
path: root/scripts/buildall.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/buildall.in')
-rwxr-xr-xscripts/buildall.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildall.in b/scripts/buildall.in
index 81df764d04..79cdb53b1e 100755
--- a/scripts/buildall.in
+++ b/scripts/buildall.in
@@ -77,7 +77,7 @@ if [ ${testing} = yes ] ; then
ECHO=echo
fi
-installed_count=`rpm -qa | grep rtems | wc -l`
+installed_count=`rpm -q -g rtems | 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: