Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2003 17:03:30 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        Bartosz Fabianowski <freebsd@chillt.de>
Cc:        freebsd-openoffice@freebsd.org
Subject:   Re: KDE menu items for 644_1 -> wrapper scripts not working
Message-ID:  <20030429170306.J33100@cvs.imp.ch>
In-Reply-To: <3EAE9132.5080304@chillt.de>
References:  <3EAE9132.5080304@chillt.de>

next in thread | previous in thread | raw e-mail | index | archive | help


Hi,

> I'd expect this to be the wrapper script. Its contents is:
>
> #!/bin/sh
>
> cmd=`dirname "$0"`/soffice
> exec "$cmd" -math "$@"
>
> Clearly, there is no "cd to program directory" here and this is why the
> splashscreen problem appears. Everythign works fine if I modify the
> wrapper as such:
>
> #!/bin/sh
>
> cd `dirname "$0"`
> exec ./soffice -math "$@"

huh ?

I see this wrapper script here ...

case $program in
$0)
        cd $oopath && ./soffice "$@"
        ;;
        *)
        cd $oopath && exec ./$program "$@"
        ;;
esac



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030429170306.J33100>