At least my grep doesn't like :digit:, neither do I
authorFabian Groffen <grobian@gentoo.org>
Sat, 27 Oct 2007 20:58:43 +0000 (20:58 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sat, 27 Oct 2007 20:58:43 +0000 (20:58 -0000)
svn path=/main/branches/prefix/; revision=8327

configure.in

index 9eee618ac6628d124b8f2f2cc7730b8d64eff639..5f4bd00aab011b5e5a74e5c3cd21518e685bd303 100644 (file)
@@ -178,7 +178,7 @@ esac],
 AC_MSG_CHECKING([for user id of ${rootuser}])
 dnl grab uid of rootuser
 rootuid=`${XCU_ID} -u ${rootuser}`
-if test "x`echo ${rootuid} | ${EGREP} '^[[:digit:]]+$'`" != "x"
+if test "x`echo ${rootuid} | ${EGREP} '^[[0-9]]+$'`" != "x"
 then
        AC_MSG_RESULT([${rootuid}])
 else
@@ -186,7 +186,7 @@ else
 fi
 AC_MSG_CHECKING([for group id of ${rootuser}])
 rootgid=`${XCU_ID} -g ${rootuser}`
-if test "x`echo ${rootgid} | ${EGREP} '^[[:digit:]]+$'`" != "x"
+if test "x`echo ${rootgid} | ${EGREP} '^[[0-9]]+$'`" != "x"
 then
        AC_MSG_RESULT([${rootgid}])
 else