about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-05-22 20:59:25 +0000
committerEric Wong <e@80x24.org>2016-05-22 20:59:25 +0000
commitc24bb049f178bd666981029b97cb982e61e197c6 (patch)
treebc956be592719de89ce799a19637dd272f62fc20 /lib/PublicInbox
parent2ab19b9e259dfef9eb78a8efc42ef2453126417b (diff)
downloadpublic-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.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r--lib/PublicInbox/Spawn.pm1
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})) {