termux-packages/packages/fish/src-env_universal_common.cpp.patch

13 lines
511 B
Diff
Raw Normal View History

2016-11-17 01:38:08 +01:00
diff -u -r ../fish-2.4b1/src/env_universal_common.cpp ./src/env_universal_common.cpp
--- ../fish-2.4b1/src/env_universal_common.cpp 2016-10-18 10:17:06.000000000 -0400
+++ ./src/env_universal_common.cpp 2016-10-19 17:42:06.900520935 -0400
@@ -137,7 +137,7 @@
2016-05-03 13:45:33 +02:00
}
// /tmp/fish.user
- std::string tmpdir = "/tmp/fish.";
+ std::string tmpdir = "@TERMUX_PREFIX@/tmp/fish.";
tmpdir.append(uname);
2016-11-17 01:38:08 +01:00
if (check_runtime_path(tmpdir.c_str()) != 0) {
debug(0,