diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-06-16 09:29:38 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-06-16 09:29:38 +0000 |
commit | 5f0af5a6151621e365e01d103ec8c80f20fd74ac (patch) | |
tree | 882757f72b8485f33ec9cd9bdbd69fb019c381eb /usr.sbin/pkg_add/OpenBSD/PackageRepository/SCP.pm | |
parent | 5ba6b2ba2df8fc791ddaed159225dbbcdf674cf5 (diff) |
use OpenBSD::Paths contents
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackageRepository/SCP.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackageRepository/SCP.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageRepository/SCP.pm b/usr.sbin/pkg_add/OpenBSD/PackageRepository/SCP.pm index 1a118221eb0..a20715856d8 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageRepository/SCP.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageRepository/SCP.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: SCP.pm,v 1.15 2007/06/04 18:52:02 espie Exp $ +# $OpenBSD: SCP.pm,v 1.16 2007/06/16 09:29:37 espie Exp $ # # Copyright (c) 2003-2006 Marc Espie <espie@openbsd.org> # @@ -23,6 +23,7 @@ our @ISA=qw(OpenBSD::PackageRepository::Distant); use IPC::Open2; use IO::Handle; +use OpenBSD::Paths; sub urlscheme { @@ -39,7 +40,8 @@ sub initiate my ($rdfh, $wrfh); - $self->{controller} = open2($rdfh, $wrfh, 'ssh', $self->{host}, 'perl', '-x'); + $self->{controller} = open2($rdfh, $wrfh, OpenBSD::Paths->ssh, + $self->{host}, 'perl', '-x'); $self->{cmdfh} = $wrfh; $self->{getfh} = $rdfh; $wrfh->autoflush(1); |