19 lines
615 B
Diff
19 lines
615 B
Diff
|
diff -u -r ../parallel-20160222/src/sem ./src/sem
|
||
|
--- ../parallel-20160222/src/sem 2016-02-21 16:24:56.000000000 -0500
|
||
|
+++ ./src/sem 2016-04-19 16:51:57.450434076 -0400
|
||
|
@@ -1224,11 +1224,11 @@
|
||
|
$Global::trim = 'n';
|
||
|
$Global::max_jobs_running = 0;
|
||
|
$Global::job_already_run = '';
|
||
|
- $ENV{'TMPDIR'} ||= "/tmp";
|
||
|
+ $ENV{'TMPDIR'} ||= "@TERMUX_PREFIX@/tmp";
|
||
|
if(not $ENV{HOME}) {
|
||
|
# $ENV{HOME} is sometimes not set if called from PHP
|
||
|
- ::warning("\$HOME not set. Using /tmp.");
|
||
|
- $ENV{HOME} = "/tmp";
|
||
|
+ ::warning("\$HOME not set. Using @TERMUX_HOME@.");
|
||
|
+ $ENV{HOME} = "@TERMUX_HOME@";
|
||
|
}
|
||
|
}
|
||
|
|