summaryrefslogtreecommitdiff
path: root/comms/fidogate/patches/patch-aj
blob: 70afde5c829d0aae0f118f6083565b72d6cbddf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aj,v 1.5 2001/03/09 19:06:19 tv Exp $

--- src/toss/rununpack.pl.orig	Thu Feb 22 12:29:19 2001
+++ src/toss/rununpack.pl	Thu Feb 22 12:29:48 2001
@@ -31,7 +31,7 @@
 my %arc_x;
 # Archiver programs configuration
 # %X is replaced with settings from toss.conf
-@arc_bindirs    = ( "/bin", "/usr/bin", "/usr/local/bin", "%N");
+@arc_bindirs    = split(/:/, $ENV{'PATH'});
 # %a is replaced with archive file name
 $arc_l{"ARJ"}   = "unarj l    %a";
 $arc_x{"ARJ"}   = "unarj e    %a";