From: Eric Wong Date: Sun, 22 May 2016 20:59:25 +0000 (+0000) Subject: spawn: note we do not use absolute paths within our code X-Git-Tag: v1.0.0~505 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=c24bb049f178bd666981029b97cb982e61e197c6;p=public-inbox.git spawn: note we do not use absolute paths within our code We can't rely on absolute paths when installed on other systems. Unfortunately, mlmmj-* requires them, but none of the core code will use it. --- diff --git a/lib/PublicInbox/Spawn.pm b/lib/PublicInbox/Spawn.pm index c5a5c012..66dce335 100644 --- a/lib/PublicInbox/Spawn.pm +++ b/lib/PublicInbox/Spawn.pm @@ -144,6 +144,7 @@ unless (defined $vfork_spawn) { *public_inbox_fork_exec = *PublicInbox::SpawnPP::public_inbox_fork_exec } +# n.b. we never use absolute paths with this sub which ($) { my ($file) = @_; foreach my $p (split(':', $ENV{PATH})) {