termux-packages/packages/gluelang/src-main.cc.patch

12 lines
256 B
Diff
Raw Normal View History

2022-04-03 11:49:09 +02:00
--- 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);