diff options
Diffstat (limited to 'editors/openoffice-1.0/files/openoffice.org-wrapper')
-rw-r--r-- | editors/openoffice-1.0/files/openoffice.org-wrapper | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/openoffice-1.0/files/openoffice.org-wrapper b/editors/openoffice-1.0/files/openoffice.org-wrapper new file mode 100644 index 000000000000..150792e7fde8 --- /dev/null +++ b/editors/openoffice-1.0/files/openoffice.org-wrapper @@ -0,0 +1,15 @@ +#!/bin/sh +# +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.0/files/Attic/openoffice.org-wrapper,v 1.1 2005-07-29 02:16:38 maho Exp $ + +oopath=%%PREFIX%%/OpenOffice.org1.0.3/program/ +program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'` + +case $program in +$0) + exec $oopath/soffice "$@" + ;; + *) + exec $oopath/$program "$@" + ;; +esac |