-# create install-location-dependent config files for Pango and GDK image loaders
-# We have to do this every time because its possible that BIN_DIR has changed
-
-sed "s?@ROOTDIR@/modules?$LIB_DIR/modules?" < $ETC_DIR/pango.modules.in > $USER_ARDOUR_DIR/pango.modules
-sed "s?@ROOTDIR@/loaders?$LIB_DIR/loaders?" < $ETC_DIR/gdk-pixbuf.loaders.in > $USER_ARDOUR_DIR/gdk-pixbuf.loaders
-
-exec $INSTALL_DIR/bin/ardour-2.8.11 "$@"
-
-
-
+if [ "T" = "$DEBUG" ]; then
+ export ARDOUR_INSIDE_GDB=1
+ exec gdb $INSTALL_DIR/bin/%EXENAME%-%VER%
+else
+ exec %WINE% $INSTALL_DIR/bin/%EXENAME%-%VER% "$@"
+fi