summaryrefslogtreecommitdiff
path: root/Tools/scripts/portsearch
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/portsearch')
-rwxr-xr-xTools/scripts/portsearch4
1 files changed, 1 insertions, 3 deletions
diff --git a/Tools/scripts/portsearch b/Tools/scripts/portsearch
index ee394ab58325..5c153aae9b73 100755
--- a/Tools/scripts/portsearch
+++ b/Tools/scripts/portsearch
@@ -24,8 +24,6 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# $Id$
-#
# Each port record in INDEX contains 10 fields, delimited by ``|'', some
@@ -50,7 +48,7 @@ my $portsdir = "/usr/ports";
$portsdir = $ENV{PORTSDIR} if ( defined $ENV{'PORTSDIR'} );
my $VERSION = "1.0";
-my $file = "$portsdir/INDEX" . ($osrel <= 4 ? "" : "-$osrel");
+my $file = "$portsdir/INDEX-$osrel";
my $match = 1;
my $count = 0;
my $fulldesc = 0;