fix to not use hardlinks which don't work...
[termux-packages] / packages / zsh / tmp_path.patch
1 diff -u -r ../zsh-5.0.5/config.h.in ./config.h.in
2 --- ../zsh-5.0.5/config.h.in 2013-11-30 00:28:56.000000000 +0100
3 +++ ./config.h.in 2014-02-03 02:21:35.000000000 +0100
4 @@ -25,7 +25,7 @@
5 #define DEFAULT_FCEDIT "vi"
6
7 /* The default prefix for temporary files */
8 -#define DEFAULT_TMPPREFIX "/tmp/zsh"
9 +#define DEFAULT_TMPPREFIX "@TERMUX_PREFIX@/tmp/zsh"
10
11 /***** end of user configuration section *****/
12 /***** shouldn't have to change anything below here *****/