xsokoban scorefile in current directory

This commit is contained in:
Florian Friesdorf 2012-11-26 15:24:03 +01:00
parent 9b97ceb397
commit 7ac03301a7

View file

@ -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