diff options
author | Eric Wong <e@80x24.org> | 2016-05-22 20:59:25 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-05-22 20:59:25 +0000 |
commit | c24bb049f178bd666981029b97cb982e61e197c6 (patch) | |
tree | bc956be592719de89ce799a19637dd272f62fc20 | |
parent | 2ab19b9e259dfef9eb78a8efc42ef2453126417b (diff) | |
download | public-inbox-c24bb049f178bd666981029b97cb982e61e197c6.tar.gz |
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.
-rw-r--r-- | lib/PublicInbox/Spawn.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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})) { |