summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.0/files
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-08-04 00:18:09 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-08-04 00:18:09 +0000
commita9e071b81c0f92bdd4b85c46ccba68287fc74bc9 (patch)
tree79a9902dbf8df4d197f2be4361e31868e66c7f22 /editors/openoffice-1.0/files
parentAdd `-E' option to REINPLACE_ARGS. (diff)
A changedir into the OO.org dir was wrong. This broke relative paths
like: "openoffice document.sxc".
Notes
Notes: svn path=/head/; revision=63938
Diffstat (limited to 'editors/openoffice-1.0/files')
-rw-r--r--editors/openoffice-1.0/files/openoffice-wrapper8
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/openoffice-1.0/files/openoffice-wrapper b/editors/openoffice-1.0/files/openoffice-wrapper
index a07bfe416b2c..28a571a83200 100644
--- a/editors/openoffice-1.0/files/openoffice-wrapper
+++ b/editors/openoffice-1.0/files/openoffice-wrapper
@@ -1,15 +1,15 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.0/files/Attic/openoffice-wrapper,v 1.1 2002-08-01 12:29:21 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.0/files/Attic/openoffice-wrapper,v 1.2 2002-08-04 00:18:09 mbr Exp $
-cd %%PREFIX%%/OpenOffice.org1.0/program/
+oopath=%%PREFIX%%/OpenOffice.org1.0/program/
program=`echo $0 | sed -e 's|.*-||'`
case $program in
$0)
- exec ./soffice "$@"
+ exec $oopath/soffice "$@"
;;
*)
- exec ./$program "$@"
+ exec $oopath/$program "$@"
;;
esac