From 768250c0073033033378f177da62321043b8fcbc Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 18 Jul 2007 18:46:12 +0000 Subject: PKG_METADATADIR is the *second* argument. --- mk/pkginstall/shlibs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/pkginstall') diff --git a/mk/pkginstall/shlibs b/mk/pkginstall/shlibs index da42fcb31b4..bc6edac1981 100644 --- a/mk/pkginstall/shlibs +++ b/mk/pkginstall/shlibs @@ -1,4 +1,4 @@ -# $NetBSD: shlibs,v 1.2 2007/07/18 18:43:05 jlam Exp $ +# $NetBSD: shlibs,v 1.3 2007/07/18 18:46:12 jlam Exp $ # # Generate a +SHLIBS script that updates the system run-time library # search paths database for the package. @@ -24,7 +24,7 @@ SELF=$0 ACTION=$1 CURDIR=`${PWD_CMD}` -PKG_METADATA_DIR="${1-${CURDIR}}" +PKG_METADATA_DIR="${2-${CURDIR}}" : ${PKGNAME=${PKG_METADATA_DIR##*/}} : ${PKG_PREFIX=@PREFIX@} -- cgit v1.2.3