--- 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);
 
