diff options
Diffstat (limited to 'editors/openoffice-3-devel/files/openoffice-wrapper')
-rw-r--r-- | editors/openoffice-3-devel/files/openoffice-wrapper | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/openoffice-3-devel/files/openoffice-wrapper b/editors/openoffice-3-devel/files/openoffice-wrapper new file mode 100644 index 000000000000..c340890b4387 --- /dev/null +++ b/editors/openoffice-3-devel/files/openoffice-wrapper @@ -0,0 +1,15 @@ +#!/bin/sh +# +# $FreeBSD$ + +oopath=%%PREFIX%%/OpenOffice.org1.0/program/ +program=`echo $0 | sed -e 's|.*-||'` + +case $program in +$0) + exec $oopath/soffice "$@" + ;; + *) + exec $oopath/$program "$@" + ;; +esac |