src/parallel: Compatible with FreeBSD7 perl 5, version 16, subversion 2 (v5.16.2)

This commit is contained in:
Ole Tange 2012-11-20 00:31:33 +01:00
parent f42a5c32ba
commit 14c0f88523

View file

@ -208,7 +208,7 @@ if($::opt_nonall or $::opt_onall) {
((defined $::opt_D) ? "-D" : ""),
((defined $::opt_timeout) ? "--timeout ".$::opt_timeout : ""),
((defined $::opt_plain) ? "--plain" : ""),
((defined @::opt_env) ? map { "--env ".::shell_quote_scalar($_) } @::opt_env : ""),
(@::opt_env ? map { "--env ".::shell_quote_scalar($_) } @::opt_env : ""),
);
::debug("| $0 $options\n");
open(my $parallel_fh, "|-", "$0 -j0 $options") ||