|
@@ -314,14 +314,7 @@ sub read_update_package_list {
|
|
}
|
|
}
|
|
|
|
|
|
if (not defined $input) {
|
|
if (not defined $input) {
|
|
- my $ood_path = 'infrastructure/';
|
|
|
|
- my @uname = POSIX::uname();
|
|
|
|
- if ($uname[2] >= 5.1) {
|
|
|
|
- $ood_path .= 'bin';
|
|
|
|
- }
|
|
|
|
- else {
|
|
|
|
- $ood_path .= 'build';
|
|
|
|
- }
|
|
|
|
|
|
+ my $ood_path = 'infrastructure/bin';
|
|
my $cmd = "env PORTSDIR=\"$portsdir\" "
|
|
my $cmd = "env PORTSDIR=\"$portsdir\" "
|
|
. "\"$portsdir/$ood_path/pkg_outdated\" ";
|
|
. "\"$portsdir/$ood_path/pkg_outdated\" ";
|
|
unless (open($in, $cmd . '2>/dev/null |')) {
|
|
unless (open($in, $cmd . '2>/dev/null |')) {
|