properly quote rootuser, since on Windows/Interix/SFU it can be a thing with spaces...
authorFabian Groffen <grobian@gentoo.org>
Thu, 1 May 2008 17:10:11 +0000 (17:10 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 1 May 2008 17:10:11 +0000 (17:10 -0000)
svn path=/main/branches/prefix/; revision=10059

configure.in

index c31de1a855c218b1b22d5ef7778c9f43e26578ec..c07692d951cb63a0d09f7ea95f2717c9baadc627 100644 (file)
@@ -193,7 +193,7 @@ esac],
 
 AC_MSG_CHECKING([for user id of ${rootuser}])
 dnl grab uid of rootuser
-rootuid=`${XCU_ID} -u ${rootuser}`
+rootuid=`${XCU_ID} -u "${rootuser}"`
 if test "x`echo ${rootuid} | ${EGREP} '^[[0-9]]+$'`" != "x"
 then
        AC_MSG_RESULT([${rootuid}])
@@ -201,7 +201,7 @@ else
        AC_MSG_ERROR([error finding the user id of ${rootuser}])
 fi
 AC_MSG_CHECKING([for group id of ${rootuser}])
-rootgid=`${XCU_ID} -g ${rootuser}`
+rootgid=`${XCU_ID} -g "${rootuser}"`
 if test "x`echo ${rootgid} | ${EGREP} '^[[0-9]]+$'`" != "x"
 then
        AC_MSG_RESULT([${rootgid}])