diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/platform/Cygwin.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/platform/Cygwin.mk b/mk/platform/Cygwin.mk index ae24bfc7e54..1836b8158c5 100644 --- a/mk/platform/Cygwin.mk +++ b/mk/platform/Cygwin.mk @@ -1,4 +1,4 @@ -# $NetBSD: Cygwin.mk,v 1.5 2013/02/21 11:19:27 obache Exp $ +# $NetBSD: Cygwin.mk,v 1.6 2013/02/22 13:39:31 obache Exp $ # # Variable definitions for the Windows with Cygwin. @@ -54,7 +54,8 @@ PKGDIRMODE?= 775 # ROOT_USER might be numeric in the special case of Administrator; canonify it: ROOT_CMD?= ${SU} - "$$(${ID} -un ${ROOT_USER})" -c ROOT_USER?= ${BINOWN} -ROOT_GROUP?= ${:!${ID} -g Administrators!} +ROOT_GROUP?= Administrators +_IS_ROOT_CMD?= ( ${ID} -nG | ${GREP} -q 'Administrators' ) TOUCH_FLAGS?= ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` |