1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh # # $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1/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