From c24bb049f178bd666981029b97cb982e61e197c6 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 22 May 2016 20:59:25 +0000 Subject: 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. --- lib/PublicInbox/Spawn.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/PublicInbox/Spawn.pm') 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})) { -- cgit v1.2.3-24-ge0c7