From: Fabian Groffen Date: Sat, 27 Oct 2007 20:58:43 +0000 (-0000) Subject: At least my grep doesn't like :digit:, neither do I X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=47b0008a804b157cb4245787cab742e45fb193e7;p=portage.git At least my grep doesn't like :digit:, neither do I svn path=/main/branches/prefix/; revision=8327 --- diff --git a/configure.in b/configure.in index 9eee618ac..5f4bd00aa 100644 --- a/configure.in +++ b/configure.in @@ -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