From 5404e9d253f591eecb188dcccf8db233b70ca09b Mon Sep 17 00:00:00 2001 From: keni Date: Fri, 13 Feb 2015 11:52:29 -0500 Subject: [PATCH 1/2] add note about making PRE file executable --- DEVEL/Developer.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DEVEL/Developer.txt b/DEVEL/Developer.txt index 7c4fa4908..142dc7f6a 100644 --- a/DEVEL/Developer.txt +++ b/DEVEL/Developer.txt @@ -61,6 +61,8 @@ B. Specify the prefix for variable substitution: the first line): #!/bin/sh git config nethack.substprefix MINE + Now make it executable: + chmod +x ~/nethack/GITADDDIR/DOTGIT/PRE C. Configure the repository: - cd to the top level of the repository - tell the repository about the directory you created above: From 8c7b6cd110e08c3c52c8cf17c37e1c926c614430 Mon Sep 17 00:00:00 2001 From: keni Date: Fri, 13 Feb 2015 11:54:04 -0500 Subject: [PATCH 2/2] add another note about executable scripts --- DEVEL/Developer.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVEL/Developer.txt b/DEVEL/Developer.txt index 142dc7f6a..5e9e76356 100644 --- a/DEVEL/Developer.txt +++ b/DEVEL/Developer.txt @@ -104,6 +104,7 @@ keep reading. Otherwise, you are done with this section. PRE (run your code before the NetHack hook) POST (run your code after the NetHack hook) and HOOKNAME is the normal git name of the hook. + Make sure the hooks are executable (chmod +x ...). Be sure to test carefully since the composition of two bits of code may or may not do what you want. 2) to install other bits on setup: