[recipes] Fix the OS X wrapper script to work



commit 3f542df81f2aea9abd017ad892a64ef5de981c56
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Mar 5 09:11:58 2017 -0500

    Fix the OS X wrapper script to work
    
    It needs to be executable for the app to run.

 osx/gnome-recipes.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/osx/gnome-recipes.sh b/osx/gnome-recipes.sh
index 5527922..595b139 100644
--- a/osx/gnome-recipes.sh
+++ b/osx/gnome-recipes.sh
@@ -70,7 +70,7 @@ unset APPLELANGUAGES L
 
 # If we didn't get a language from the language list, try the Collation preference, in case it's the only 
setting that exists.
 APPLECOLLATION=`defaults read .GlobalPreferences AppleCollationOrder`
-if test -z ${LANG} -a -n $APPLECOLLATION; then
+if test -z ${LANG} -a -n "$APPLECOLLATION"; then
     if test -f "$I18NDIR/${APPLECOLLATION:0:2}/LC_MESSAGES/$APP.mo"; then
        export LANG=${APPLECOLLATION:0:2}
     fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]