blob: 0227bb647863d95053923f5094db73c77e2407a4 (
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-3/files/Attic/openoffice-wrapper,v 1.11 2003-09-17 04:06:28 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
case $program in
$0)
cd $oopath && ./soffice "$@"
;;
*)
cd $oopath && exec ./$program "$@"
;;
esac
|