2016-09-26 16:04:02 +02:00
|
|
|
diff -u -r ../parallel-20160922/src/parallel ./src/parallel
|
|
|
|
--- ../parallel-20160922/src/parallel 2016-09-22 19:04:53.000000000 -0400
|
|
|
|
+++ ./src/parallel 2016-09-26 10:01:43.814429837 -0400
|
|
|
|
@@ -1258,11 +1258,11 @@
|
2016-04-19 23:03:45 +02:00
|
|
|
$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@";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-26 16:04:02 +02:00
|
|
|
@@ -4255,6 +4255,7 @@
|
|
|
|
my $bsd = q(ps -o pid,ppid,command -ax);
|
|
|
|
%pid_parentpid_cmd =
|
|
|
|
(
|
|
|
|
+ 'android' => $sysv,
|
|
|
|
'aix' => $sysv,
|
|
|
|
'android' => $sysv,
|
|
|
|
'cygwin' => $sysv,
|