From: Fabian Groffen Date: Thu, 1 May 2008 17:10:11 +0000 (-0000) Subject: properly quote rootuser, since on Windows/Interix/SFU it can be a thing with spaces... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=93020f25ffab122a4e875e7f4034922ff0a0c8d7;p=portage.git properly quote rootuser, since on Windows/Interix/SFU it can be a thing with spaces in it (yuk!) svn path=/main/branches/prefix/; revision=10059 --- diff --git a/configure.in b/configure.in index c31de1a85..c07692d95 100644 --- a/configure.in +++ b/configure.in @@ -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}])