summaryrefslogtreecommitdiff
path: root/mk/platform/Cygwin.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/platform/Cygwin.mk')
-rw-r--r--mk/platform/Cygwin.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/platform/Cygwin.mk b/mk/platform/Cygwin.mk
index 15d16bf7c41..400608294e6 100644
--- a/mk/platform/Cygwin.mk
+++ b/mk/platform/Cygwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Cygwin.mk,v 1.3 2013/02/20 12:42:43 obache Exp $
+# $NetBSD: Cygwin.mk,v 1.4 2013/02/20 13:08:26 obache Exp $
#
# Variable definitions for the Windows with Cygwin.
@@ -52,10 +52,10 @@ NOLOGIN?= /bin/false
PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
PKGDIRMODE?= 775
# ROOT_USER might be numeric in the special case of Administrator; canonify it:
-ROOT_CMD?= ${SU} - "$$(id -un ${ROOT_USER})" -c
+ROOT_CMD?= ${SU} - "$$(${ID} -un ${ROOT_USER})" -c
ROOT_USER?= ${BINOWN}
.if !defined(ROOT_GROUP)
-ROOT_GROUP!= id -g Administrators
+ROOT_GROUP!= ${ID} -g Administrators
.endif
TOUCH_FLAGS?=
ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d`