From 14c0f8852395701fc353129d7560b026d14846e3 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Tue, 20 Nov 2012 00:31:33 +0100 Subject: [PATCH] src/parallel: Compatible with FreeBSD7 perl 5, version 16, subversion 2 (v5.16.2) --- src/parallel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parallel b/src/parallel index b01c0654..0020220a 100755 --- a/src/parallel +++ b/src/parallel @@ -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") ||