mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
79e75232f1
with absolute path. This makes relative paths working again for specified documents in the argument list.
16 lines
218 B
Bash
16 lines
218 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
|
|
oopath=%%PREFIX%%/OpenOffice.org%%FRELEASE_NR%%/program/
|
|
program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
|
|
|
|
case $program in
|
|
$0)
|
|
$oopath/soffice "$@"
|
|
;;
|
|
*)
|
|
$oopath/$program "$@"
|
|
;;
|
|
esac
|