summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-02-20 13:08:26 +0000
committerobache <obache@pkgsrc.org>2013-02-20 13:08:26 +0000
commite3dac0350959a4342982a8ed9d1cf2d4e8eb5410 (patch)
tree1299a3560a4bc8cddcd45ee2ed83ab346f012bb3 /mk
parent0b15512c594896869416b0e55cbccd2c6bfd9fd2 (diff)
downloadpkgsrc-e3dac0350959a4342982a8ed9d1cf2d4e8eb5410.tar.gz
Use ${ID} instead of bare 'id'.
Diffstat (limited to '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`