From 676f778b51fed52f5067af8f377a03a0705adc2b Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Tue, 28 Aug 2007 10:39:04 +0000 Subject: reverse mistaken commit, restore FETCH_CMD to functionality. --- usr.sbin/pkg_add/OpenBSD/Paths.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/pkg_add/OpenBSD/Paths.pm b/usr.sbin/pkg_add/OpenBSD/Paths.pm index 73313a23e23..29f5a8ed1c6 100644 --- a/usr.sbin/pkg_add/OpenBSD/Paths.pm +++ b/usr.sbin/pkg_add/OpenBSD/Paths.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Paths.pm,v 1.5 2007/07/14 21:50:05 ajacoutot Exp $ +# $OpenBSD: Paths.pm,v 1.6 2007/08/28 10:39:03 espie Exp $ # # Copyright (c) 2007 Marc Espie # @@ -33,7 +33,7 @@ sub sysctl() { '/sbin/sysctl' } sub openssl() { '/usr/sbin/openssl' } sub chmod() { '/bin/chmod' } # external command is used for symbolic modes. sub gzip() { '/usr/bin/gzip' } -sub ftp() { '/usr/bin/ftp' } +sub ftp() { $ENV{'FETCH_CMD'} || '/usr/bin/ftp' } sub groff() { '/usr/bin/groff' } sub sh() { '/bin/sh' } sub arch() { '/usr/bin/arch' } -- cgit v1.2.3