You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
842 B
26 lines
842 B
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 @@
|
|
$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@";
|
|
}
|
|
}
|
|
|
|
@@ -4255,6 +4255,7 @@
|
|
my $bsd = q(ps -o pid,ppid,command -ax);
|
|
%pid_parentpid_cmd =
|
|
(
|
|
+ 'android' => $sysv,
|
|
'aix' => $sysv,
|
|
'android' => $sysv,
|
|
'cygwin' => $sysv,
|
|
|