summaryrefslogtreecommitdiff
path: root/mk/pkginstall/files
diff options
context:
space:
mode:
Diffstat (limited to 'mk/pkginstall/files')
-rw-r--r--mk/pkginstall/files5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/pkginstall/files b/mk/pkginstall/files
index aad8bb1062a..5ab7d98009e 100644
--- a/mk/pkginstall/files
+++ b/mk/pkginstall/files
@@ -1,4 +1,4 @@
-# $NetBSD: files,v 1.1 2006/05/21 23:50:15 jlam Exp $
+# $NetBSD: files,v 1.2 2006/07/19 22:26:26 jlam Exp $
#
# Generate a +FILES script that reference counts config files that are
# required for the proper functioning of the package.
@@ -105,7 +105,8 @@ VIEW-REMOVE)
${TEST} -n "${DEPOTDIR}" -a -n "${VIEWDIR}" || exit 0
;;
*)
- PKG_METADATA_DIR="${2-`${PWD_CMD}`}"
+ CURDIR=`${PWD_CMD}`
+ PKG_METADATA_DIR="${2-${CURDIR}}"
: ${PKGNAME=${PKG_METADATA_DIR##*/}}
: ${PKG_DBDIR=${PKG_METADATA_DIR%/*}}
: ${PKG_REFCOUNT_DBDIR=${PKG_DBDIR}.refcount}