Files
termux-packages/packages/7zip/fix-hardcoded-paths.patch
2023-04-03 23:01:18 +00:00

12 lines
265 B
Diff

--- a/CPP/Windows/FileDir.cpp
+++ b/CPP/Windows/FileDir.cpp
@@ -674,7 +674,7 @@
#else
// FIXME: improve that code
- path = "/tmp/";
+ path = "@TERMUX_PREFIX@/tmp/";
if (!NFind::DoesDirExist_FollowLink(path))
path = "./";
return true;