You've already forked termux-packages
mirror of
https://github.com/izzy2lost/termux-packages.git
synced 2026-03-26 17:00:19 -07:00
13 lines
438 B
Diff
13 lines
438 B
Diff
|
|
diff -u -r ../fish-2.4.0/src/fish.cpp ./src/fish.cpp
|
||
|
|
--- ../fish-2.4.0/src/fish.cpp 2016-11-07 22:20:54.000000000 -0500
|
||
|
|
+++ ./src/fish.cpp 2016-12-29 02:39:05.173696719 -0500
|
||
|
|
@@ -421,6 +421,8 @@
|
||
|
|
}
|
||
|
|
|
||
|
|
int main(int argc, char **argv) {
|
||
|
|
+ // Termux patch: Setup TMPDIR for use by fish functions such as funced and psub.
|
||
|
|
+ if (getenv("TMPDIR") == NULL) putenv("TMPDIR=@TERMUX_PREFIX@/tmp");
|
||
|
|
int res = 1;
|
||
|
|
int my_optind = 0;
|
||
|
|
|