From: Fabian Groffen Date: Sat, 27 Oct 2007 20:40:09 +0000 (-0000) Subject: Not sure what idiot put bash [[ in configure.in, but it probably was me. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fa2cb69469abc5c76f73527db65baa807b863d86;p=portage.git Not sure what idiot put bash [[ in configure.in, but it probably was me. svn path=/main/branches/prefix/; revision=8323 --- diff --git a/configure.in b/configure.in index 6311c7b0e..a46cad317 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 [[ `echo ${rootuid} | ${EGREP} '^[[:digit:]]+$'` ]] +if test "x`echo ${rootuid} | ${EGREP} '^[[:digit:]]+$'`" != "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 [[ `echo ${rootgid} | ${EGREP} '^[[:digit:]]+$'` ]] +if test "x`echo ${rootgid} | ${EGREP} '^[[:digit:]]+$'`" != "x" then AC_MSG_RESULT([${rootgid}]) else