blob: dc4e14e6c1e94031f97d0620ede93a744e5fbe84 (
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/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
|