You've already forked termux-packages
mirror of
https://github.com/izzy2lost/termux-packages.git
synced 2026-03-26 17:00:19 -07:00
12 lines
442 B
Diff
12 lines
442 B
Diff
|
|
--- a/compiler/compiler.cpp
|
||
|
|
+++ b/compiler/compiler.cpp
|
||
|
|
@@ -119,7 +119,7 @@
|
||
|
|
std::string dest_path = G->settings().dest_dir.get();
|
||
|
|
|
||
|
|
std::stringstream ss;
|
||
|
|
- ss << "/tmp/" << std::hex << vk::std_hash(dest_path) << "_kphp_temp_lock";
|
||
|
|
+ ss << "@TERMUX_PREFIX@/tmp/" << std::hex << vk::std_hash(dest_path) << "_kphp_temp_lock";
|
||
|
|
locked_filename_ = ss.str();
|
||
|
|
|
||
|
|
fd_ = open(locked_filename_.c_str(), O_RDWR | O_CREAT, 0666);
|