diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-08-28 09:16:09 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-08-28 09:16:09 +0000 |
commit | e6ec07405d9ff9b72bb29de0bfa366d413184135 (patch) | |
tree | 6a858c1b89375fef8614d54b00fc03a0fcd993e5 /setup_native/scripts | |
parent | 571816da4ae2b234fefa09ca39011d6c174064a4 (diff) |
INTEGRATION: CWS extquote_SRC680 (1.18.8.1.2); FILE MERGED
2007/08/16 08:07:08 obr 1.18.8.1.2.1: #i77418# need to adapt the private postrun implementation
Diffstat (limited to 'setup_native/scripts')
-rw-r--r-- | setup_native/scripts/install_solaris.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/setup_native/scripts/install_solaris.sh b/setup_native/scripts/install_solaris.sh index 3586aa3b8cd5..d6ea6fc48dac 100644 --- a/setup_native/scripts/install_solaris.sh +++ b/setup_native/scripts/install_solaris.sh @@ -223,23 +223,23 @@ fi # This script must exist to make extension registration work # always overwrite to get the latest version. mkdir -p ${INSTALL_ROOT}/usr/lib -cat > ${INSTALL_ROOT}/usr/lib/postrun << EOF +cat > ${INSTALL_ROOT}/usr/lib/postrun << \EOF #!/bin/sh # Override UserInstallation in bootstraprc for unopkg .. -UserInstallation='\$ORIGIN/../UserInstallation' +UserInstallation='$ORIGIN/../UserInstallation' export UserInstallation if [ -x /usr/bin/mktemp ] then - CMD=\`/usr/bin/mktemp /tmp/userinstall.XXXXXX\` + CMD=`/usr/bin/mktemp /tmp/userinstall.XXXXXX` else - CMD=/tmp/userinstall.\$\$; echo "" > \$CMD + CMD=/tmp/userinstall.$$; echo "" > $CMD fi -sed -e "s|^/|${INSTALL_ROOT}/|" -e "s| /| ${INSTALL_ROOT}/|g" > \$CMD -/bin/sh \$CMD -rm -f \$CMD +sed -e 's|"/|"${PKG_INSTALL_ROOT}/|g' > $CMD +/bin/sh $CMD +rm -f $CMD EOF chmod +x ${INSTALL_ROOT}/usr/lib/postrun 2>/dev/null |