Fix for launching on case-sensitive systems
[xboard.git] / osxapp / XBoard.gtklauncher
index d448c4e..2895275 100755 (executable)
@@ -38,7 +38,9 @@ export GTK_PATH="$bundle_lib/gtk-2.0/2.10.0"
  export GTK_IM_MODULE_FILE="$bundle_etc/gtk-2.0/gtk.immodules"
 
 # Pango path no longer required
- export PANGO_RC_FILE="$bundle_etc/pango/pangorc"
+export PANGO_RC_FILE="$bundle_etc/pango/pangorc"
+export PANGO_SYSCONFDIR="$bundle_etc"
+export PANGO_LIBDIR="$bundle_lib"
 
 # Fix the gegl path issue
 export GEGL_PATH="$bundle_lib/gegl-0.2"
@@ -68,7 +70,7 @@ if [ "x$GTK_DEBUG_SHELL" != "x" ]; then
        exec bash
 
 else
-       $EXEC "$bundle_contents/MacOS/$name-bin" "$@"
+       $EXEC "$bundle_contents/MacOS/xboard-bin" "$@"
 fi