termux-packages/packages/gluelang/src-main.cc.patch
2022-04-04 09:14:20 +09:00

12 lines
256 B
Diff

--- a/src/main.cc
+++ b/src/main.cc
@@ -69,7 +69,7 @@
Feeder feeder(&ifs);
// set tmpdir
string tmp_k = "tmpdir";
- string tmp_v = "/tmp/";
+ string tmp_v = "@TERMUX_PREFIX@/tmp/";
env.setImportPath(&tmp_k,&tmp_v);
Script s(&feeder,&env,NULL);