summaryrefslogtreecommitdiffstats
path: root/aclocal/rtems-top.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal/rtems-top.m4')
-rw-r--r--aclocal/rtems-top.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal/rtems-top.m4 b/aclocal/rtems-top.m4
index bea4e79912..67e3afe50f 100644
--- a/aclocal/rtems-top.m4
+++ b/aclocal/rtems-top.m4
@@ -24,7 +24,7 @@ dnl Hopefully, Joel never changes its format ;-
AC_MSG_CHECKING([for RTEMS Version])
if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
changequote(,)dnl
-RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
+RTEMS_VERSION=`grep 'RTEMS Version' ${srcdir}/${RTEMS_TOPdir}/VERSION | \
sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'`
changequote([,])dnl
else