2 # NetHack 3.6 pre-rebase $NHDT-Date: 1524689633 2018/04/25 20:53:53 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.1 $
3 # Copyright (c) 2015 by Kenneth Lorber, Kensington, Maryland
4 # NetHack may be freely redistributed. See license for details.
8 # OS hackery has to be duplicated in each of the hooks :/
9 # first the directory separator
10 my $DS = quotemeta('/');
12 # msys: POSIXish over a Windows filesystem (so / not \ but \r\n not \n).
13 # temporarily removed because inconsistent behavior
20 $DS = quotemeta('\\');
23 $gitdir = `git rev-parse --git-dir`;
25 push(@INC, $gitdir.$PDS."hooks");