[fedora-java] freemind uses relative path to look for files

Stanislav Ochotnicky sochotnicky at redhat.com
Thu Mar 15 09:59:31 UTC 2012


Quoting Johannes Lips (2012-03-08 13:01:37)
>Hello,
>
>I recently received the following bug against freemind.
>
>https://bugzilla.redhat.com/show_bug.cgi?id=800769
>
>One working solution is to just add cd /usr/share/freemind into the startup
>script but I just wanted to know if that is possible
>and also why the current definition of the working directory in the startup
>script is not working.
>The current startup script looks like this:
>http://pkgs.fedoraproject.org/gitweb/?p=freemind.git;a=blob;f=freemind.sh;h=76322cccaa435d2c000d406b298c7d188f00e822;hb=HEAD
>
>Hope we could find an easy solution since it will really fix the Export
>problems we have with freemind.
>
>Thanks for any suggestions,
>
>Johannes

If you have a look in the original start script shipped by upstream,
you'll notice they do quite a few more things in the script. I'd suggest
actually using the upstream script in some way (probably placing it in
/usr/share/freemind, and then executing it in another simple shell
script placed in /usr/bin/. This will probably solve other bug(s) as
well and be more future-proof.

-- 
Stanislav Ochotnicky <sochotnicky at redhat.com>
Software Engineer - Base Operating Systems Brno

PGP: 7B087241
Red Hat Inc.                               http://cz.redhat.com


More information about the java-devel mailing list