bump compatibility version numbers
[mandelbrot.git] / mandelbrot
index 7d05df5a2ba0e477bb200bc566dd1bf74eb49eee..f332251f3eadd450543d441c9a4f310f80cd07ce 100755 (executable)
@@ -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 $@