Ticket #51449: patch-gtk3-launcher.diff

File patch-gtk3-launcher.diff, 645 bytes (added by fredowski, 8 years ago)
  • examples/gtk3-launcher.sh

    diff --git examples/gtk3-launcher.sh examples/gtk3-launcher.sh
    index 9137ccb..635ca8d 100755
    bundle_bin="$bundle_res"/bin 
    2222bundle_data="$bundle_res"/share
    2323bundle_etc="$bundle_res"/etc
    2424
    25 export DYLD_LIBRARY_PATH="$bundle_lib"
    2625export XDG_CONFIG_DIRS="$bundle_etc"/xdg
    2726export XDG_DATA_DIRS="$bundle_data"
    2827export GTK_DATA_PREFIX="$bundle_res"
    if [ `uname -r | cut -d . -f 1` -ge 10 ]; then 
    4039fi
    4140
    4241
    43 APP=name
     42APP=$name
    4443I18NDIR="$bundle_data/locale"
    4544# Set the locale-related variables appropriately:
    4645unset LANG LC_MESSAGES LC_MONETARY LC_COLLATE