aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/make_index
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-05-05 15:25:57 +0800
committerasami <asami@FreeBSD.org>1999-05-05 15:25:57 +0800
commit1a56b20d73b6a1125ff42a2d0e70c763c8fa0d20 (patch)
tree9f8a88d946646ede39627082f611616c68505345 /Tools/make_index
parent95afb08faae258564fe75a70e112d5a87fff7b91 (diff)
downloadfreebsd-ports-gnome-1a56b20d73b6a1125ff42a2d0e70c763c8fa0d20.tar.gz
freebsd-ports-gnome-1a56b20d73b6a1125ff42a2d0e70c763c8fa0d20.tar.zst
freebsd-ports-gnome-1a56b20d73b6a1125ff42a2d0e70c763c8fa0d20.zip
Correctly deal with the http field in index lines.
Submitted by: steve
Diffstat (limited to 'Tools/make_index')
-rw-r--r--Tools/make_index6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/make_index b/Tools/make_index
index 7465517fb55b..153fb6b3b099 100644
--- a/Tools/make_index
+++ b/Tools/make_index
@@ -1,6 +1,6 @@
#!/usr/bin/perl
#
-# $Id: make_index,v 1.4 1999/03/13 04:25:21 scrappy Exp $
+# $Id: make_index,v 1.5 1999/04/28 06:20:23 asami Exp $
#
# Written to speed-up INDEX file generation. The new scheme
# basically visits each port once and writes out each port's
@@ -83,8 +83,8 @@ while (<>) {
my $pkg = {
'bdep' => [split(/ /, $f[7])],
'rdep' => [split(/ /, $f[8])],
- 'text' => join('|', splice(@f, 0, 7)),
- 'rest' => join('|', splice(@f, 9))
+ 'rest' => join('|', splice(@f, 9)),
+ 'text' => join('|', splice(@f, 0, 7))
};
$index{$name} = $pkg;