diff options
author | jlam <jlam@pkgsrc.org> | 2007-07-30 00:01:05 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-07-30 00:01:05 +0000 |
commit | 692a80baeba9cf9932f47494119dd6df9ed38d40 (patch) | |
tree | 0a0b92938652807a7389c3d16d4123b8a40ace33 /emulators/suse100_vmware | |
parent | 89b89988089575f7c11191f82b86f9feaf2cd4bc (diff) | |
download | pkgsrc-692a80baeba9cf9932f47494119dd6df9ed38d40.tar.gz |
Assume that the +ROOT_ACTIONS script is always executed from the
current working directory. This should fix problems installing the
suse*_base and suse*_vmware packages as a privileged user.
When this package is installed as a privileged user, the +ROOT_ACTIONS
script is executed from ${WRKDIR}/.pkginstall before the package
metadata directory exists.
Diffstat (limited to 'emulators/suse100_vmware')
-rw-r--r-- | emulators/suse100_vmware/INSTALL | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/suse100_vmware/INSTALL b/emulators/suse100_vmware/INSTALL index c1d5d28d67c..600d8c86d6f 100644 --- a/emulators/suse100_vmware/INSTALL +++ b/emulators/suse100_vmware/INSTALL @@ -1,4 +1,4 @@ -# $NetBSD: INSTALL,v 1.1 2007/07/29 05:19:00 jlam Exp $ +# $NetBSD: INSTALL,v 1.2 2007/07/30 00:01:05 jlam Exp $ # Generate a +ROOT_ACTIONS script that runs certain actions that require # superuser privileges. @@ -43,7 +43,7 @@ PKG_METADATA_DIR="${2-${CURDIR}}" : ${PKGNAME=${PKG_METADATA_DIR##*/}} : ${PKG_PREFIX=@PREFIX@} -ROOT_ACTIONS_COOKIE="${PKG_METADATA_DIR}/+ROOT_ACTIONS_done" +ROOT_ACTIONS_COOKIE="./+ROOT_ACTIONS_done" EUID=`${ID} -u` exitcode=0 |