]> granicus.if.org Git - nethack/commitdiff
test postcommit.pl 1.91 & mac build tid
authorkeni <keni>
Wed, 11 Jan 2012 19:47:33 +0000 (19:47 +0000)
committerkeni <keni>
Wed, 11 Jan 2012 19:47:33 +0000 (19:47 +0000)
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.

sys/unix/hints/macosx10.7

index 4b485f1c13e0aa1a2331bae9ebb351e5e082942e..00b54c83bc80b6871fbcc015f8435eabb1993d36 100644 (file)
@@ -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