summaryrefslogtreecommitdiff
path: root/emulators/suse100_base
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-07-30 00:01:05 +0000
committerjlam <jlam@pkgsrc.org>2007-07-30 00:01:05 +0000
commit692a80baeba9cf9932f47494119dd6df9ed38d40 (patch)
tree0a0b92938652807a7389c3d16d4123b8a40ace33 /emulators/suse100_base
parent89b89988089575f7c11191f82b86f9feaf2cd4bc (diff)
downloadpkgsrc-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_base')
-rw-r--r--emulators/suse100_base/INSTALL4
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/suse100_base/INSTALL b/emulators/suse100_base/INSTALL
index 51371f21458..12831a79c54 100644
--- a/emulators/suse100_base/INSTALL
+++ b/emulators/suse100_base/INSTALL
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.5 2007/07/29 05:18:39 jlam Exp $
+# $NetBSD: INSTALL,v 1.6 2007/07/30 00:01:05 jlam Exp $
# Generate a +ROOT_ACTIONS script that runs certain actions that require
# superuser privileges.
@@ -41,7 +41,7 @@ PKG_METADATA_DIR="${2-${CURDIR}}"
EMULDIR="${PKG_PREFIX}/@EMULSUBDIR@"
OPSYS_EMULDIR="@OPSYS_EMULDIR@"
-ROOT_ACTIONS_COOKIE="${PKG_METADATA_DIR}/+ROOT_ACTIONS_done"
+ROOT_ACTIONS_COOKIE="./+ROOT_ACTIONS_done"
EUID=`${ID} -u`
exitcode=0