X-Git-Url: https://git-public.kairo.at/?p=mandelbrot.git;a=blobdiff_plain;f=mandelbrot;h=f332251f3eadd450543d441c9a4f310f80cd07ce;hp=7d05df5a2ba0e477bb200bc566dd1bf74eb49eee;hb=920e1feaae452ddcc01e9a08b51beca27452f334;hpb=e9524eacee04f8fe09436329ae0bcf9819389c67 diff --git a/mandelbrot b/mandelbrot index 7d05df5..f332251 100755 --- a/mandelbrot +++ b/mandelbrot @@ -58,6 +58,14 @@ if test -z "$xulrunner"; then fi done fi +if test -z "$xulrunner"; then + # catch the last one of those in versioned directories + for xrbin in /opt/mozilla/xulrunner-*/xulrunner; do + if test -e "$xrbin"; then + xulrunner="$xrbin" + fi + done +fi if test -z "$xulrunner"; then xulrunner=`which xulrunner` fi @@ -68,4 +76,4 @@ fi # add -jsconsole for debugging -$xulrunner --app $app_ini +$xulrunner --app $app_ini $@