aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-1.0
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-08-04 08:18:09 +0800
committermbr <mbr@FreeBSD.org>2002-08-04 08:18:09 +0800
commit0ecfdc676286e6759cd8ac31d1b15fcb06fb7f8e (patch)
treeb266769d0b8a26f0df6b67cfff79b586198c41f8 /editors/openoffice.org-1.0
parentdfcfdc208a1f18cb09c38032bc5ff614de1e1224 (diff)
downloadfreebsd-ports-graphics-0ecfdc676286e6759cd8ac31d1b15fcb06fb7f8e.tar.gz
freebsd-ports-graphics-0ecfdc676286e6759cd8ac31d1b15fcb06fb7f8e.tar.zst
freebsd-ports-graphics-0ecfdc676286e6759cd8ac31d1b15fcb06fb7f8e.zip
A changedir into the OO.org dir was wrong. This broke relative paths
like: "openoffice document.sxc".
Diffstat (limited to 'editors/openoffice.org-1.0')
-rw-r--r--editors/openoffice.org-1.0/files/openoffice-wrapper8
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/openoffice.org-1.0/files/openoffice-wrapper b/editors/openoffice.org-1.0/files/openoffice-wrapper
index 881d40e90c3..dd71e4dbb06 100644
--- a/editors/openoffice.org-1.0/files/openoffice-wrapper
+++ b/editors/openoffice.org-1.0/files/openoffice-wrapper
@@ -1,15 +1,15 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.0/files/Attic/openoffice-wrapper,v 1.1 2002-08-01 12:29:21 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-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