mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
xsokoban scorefile in current directory
This commit is contained in:
parent
9b97ceb397
commit
7ac03301a7
@ -28,8 +28,8 @@ rec {
|
||||
echo '#define OWNER "'$(whoami)'"' >> config.h
|
||||
echo '#define ROOTDIR "'$out/lib/xsokoban'"' >> config.h
|
||||
echo '#define ANYLEVEL 1' >> config.h
|
||||
echo '#define SCOREFILE "/tmp/.xsokoban-score"' >> config.h
|
||||
echo '#define LOCKFILE "/tmp/.xsokoban-score-lock"' >> config.h
|
||||
echo '#define SCOREFILE ".xsokoban-score"' >> config.h
|
||||
echo '#define LOCKFILE ".xsokoban-score-lock"' >> config.h
|
||||
|
||||
sed -e 's/getpass[(][^)]*[)]/PASSWORD/' -i main.c
|
||||
sed -e '/if [(]owner[)]/iowner=1;' -i main.c
|
||||
|
Loading…
Reference in New Issue
Block a user