aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-2-devel/files/openoffice-wrapper
blob: 6e91ea42c5802d1025b177901f27cb6bc70a4013 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-devel/files/Attic/openoffice-wrapper,v 1.15 2005-05-15 04:08:55 maho Exp $

oopath=%%PREFIX%%/%%INSTALLATION_BASEDIR%%/program/
program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%m%%MILESTONE%%-||'`

case $program in
$0)
    $oopath/soffice "$@"
    ;;
    *)
    $oopath/$program "$@"
    ;;
esac