From 0c822822db2fb88c0eb548d384b4a9c89c1d5a4e Mon Sep 17 00:00:00 2001 From: Alexey Zelkin Date: Tue, 24 Jun 2003 10:22:31 +0000 Subject: [PATCH] Fix ${.CURDIR} != ${.OBJDIR} case. It was not fatal error, but in broken case categories descriptions wasn't found and descriptions were missed in generated file. --- es/ports/portindex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es/ports/portindex b/es/ports/portindex index 2058c8ed36..2bd082cd4f 100755 --- a/es/ports/portindex +++ b/es/ports/portindex @@ -40,7 +40,7 @@ if ($urlcgi) { $today = &getdate; &packages_exist('packages.exists', *packages); -&category_description(($ARGV[2] || '.') . '/categories', *category_description); +&category_description(($ARGV[1] || '.') . '/categories', *category_description); &main; sub getdate {