X-Git-Url: https://git-public.kairo.at/?p=mandelbrot.git;a=blobdiff_plain;f=mandelbrot;h=f332251f3eadd450543d441c9a4f310f80cd07ce;hp=3a58794e3ccb2d5235f868c879d25763f9be1bfd;hb=920e1feaae452ddcc01e9a08b51beca27452f334;hpb=7e4a97763df3c87de84f26e740fbdaadbeb48b93 diff --git a/mandelbrot b/mandelbrot index 3a58794..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