From: keni Date: Wed, 11 Jan 2012 19:47:33 +0000 (+0000) Subject: test postcommit.pl 1.91 & mac build tid X-Git-Tag: MOVE2GIT~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9f8ca44aa5e13dd0c04885e770657234f202c46;p=nethack test postcommit.pl 1.91 & mac build tid Make postcommit try to recognize a directory commit operation. Use /usr/bin/true instead of touch for a dummy chown/chgrp in Mac OS X. --- diff --git a/sys/unix/hints/macosx10.7 b/sys/unix/hints/macosx10.7 index 4b485f1c1..00b54c83b 100644 --- a/sys/unix/hints/macosx10.7 +++ b/sys/unix/hints/macosx10.7 @@ -138,8 +138,8 @@ else # ! root PREFIX:=/Users/$(GAMEUID) SHELLDIR=$(PREFIX)/bin HACKDIR=$(PREFIX)/nethackdir -CHOWN=touch -CHGRP=touch +CHOWN=/usr/bin/true +CHGRP=/usr/bin/true GAMEPERM = 0500 endif # ! root VARFILEPERM = 0664 @@ -155,8 +155,8 @@ PREFIX=$(abspath $(NHSROOT)) # suppress nethack.sh #SHELLDIR= HACKDIR=$(PREFIX)/playground -CHOWN=touch -CHGRP=touch +CHOWN=/usr/bin/true +CHGRP=/usr/bin/true GAMEPERM = 0700 VARFILEPERM = 0600 VARDIRPERM = 0700 @@ -167,8 +167,8 @@ else # !WANT_SOURCE_INSTALL PREFIX:=$(wildcard ~) SHELLDIR=$(PREFIX)/bin HACKDIR=$(PREFIX)/nethackdir -CHOWN=true -CHGRP=true +CHOWN=/usr/bin/true +CHGRP=/usr/bin/true GAMEPERM = 0700 VARFILEPERM = 0600 VARDIRPERM = 0700