+++ ./greed.c @@ -72,7 +72,7 @@ /* rnd() returns a random number between 1 and x */ #define rnd(x) (int)((lrand48() % (x)) + 1) -#define LOCKPATH "/tmp/Greed.lock" /* lock path for high score file */ +#define LOCKPATH "@TERMUX_PREFIX@/tmp/Greed.lock" /* lock path for high score file */ #define LOCALSCOREFILE ".greedscores"