Not sure what idiot put bash [[ in configure.in, but it probably was me.
authorFabian Groffen <grobian@gentoo.org>
Sat, 27 Oct 2007 20:40:09 +0000 (20:40 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sat, 27 Oct 2007 20:40:09 +0000 (20:40 -0000)
svn path=/main/branches/prefix/; revision=8323

configure.in

index 6311c7b0e2f5aeecef014850edd1b78275163459..a46cad317538d9a181e789271ad059ec16c6756e 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 [[ `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