diff options
| author | Bruce A. Mah <bmah@FreeBSD.org> | 2001-09-18 17:56:44 +0000 |
|---|---|---|
| committer | Bruce A. Mah <bmah@FreeBSD.org> | 2001-09-18 17:56:44 +0000 |
| commit | 9cc1dc75e77d4baccf5546482045ef19e72c104d (patch) | |
| tree | 5b71bcda08f94cc283aa76a1d68fce59d40d4082 /usr.sbin | |
| parent | f35b9d165f39f5a138d16c9ef2a664709b5c2c66 (diff) | |
Notes
Diffstat (limited to 'usr.sbin')
| -rwxr-xr-x | usr.sbin/pkg_install/version/pkg_version.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/version/pkg_version.pl b/usr.sbin/pkg_install/version/pkg_version.pl index 9c1b91d3325b..c65d2d412e98 100755 --- a/usr.sbin/pkg_install/version/pkg_version.pl +++ b/usr.sbin/pkg_install/version/pkg_version.pl @@ -45,8 +45,8 @@ $OriginCommand = '/usr/sbin/pkg_info -qo'; $GetPkgNameCommand = 'make -V PKGNAME'; #$IndexFile = "ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports/INDEX"; -$PortsDirectory = '/usr/ports'; -$IndexFile = '/usr/ports/INDEX'; +$PortsDirectory = $ENV{PORTSDIR} || '/usr/ports'; +$IndexFile = "$PortsDirectory/INDEX"; $ShowCommandsFlag = 0; $DebugFlag = 0; $VerboseFlag = 0; |
