diff options
author | jlam <jlam@pkgsrc.org> | 2007-07-18 18:46:12 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-07-18 18:46:12 +0000 |
commit | 8da3e1d56945bb2d622d02034e172c678ec0d955 (patch) | |
tree | 42282bd201d412b15bd76a124098adbafb54ffda /mk/pkginstall | |
parent | fc04a1e258b33c00f271b1c0cf1122471a28348a (diff) | |
download | pkgsrc-8da3e1d56945bb2d622d02034e172c678ec0d955.tar.gz |
PKG_METADATADIR is the *second* argument.
Diffstat (limited to 'mk/pkginstall')
-rw-r--r-- | mk/pkginstall/shlibs | 4 |
1 files changed, 2 insertions, 2 deletions
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@} |