summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-08-28 10:39:04 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-08-28 10:39:04 +0000
commit676f778b51fed52f5067af8f377a03a0705adc2b (patch)
treeae6e188af0c8a1c19be3af437454febca8ffbca1 /usr.sbin
parent7a88d500b773b741a779eb942a40211cfa08327b (diff)
reverse mistaken commit, restore FETCH_CMD to functionality.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Paths.pm4
1 files changed, 2 insertions, 2 deletions
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 <espie@openbsd.org>
#
@@ -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' }