diff --git a/Scripts/sogod-wrapper b/Scripts/sogod-wrapper index 114a9fe97..f834e7f98 100755 --- a/Scripts/sogod-wrapper +++ b/Scripts/sogod-wrapper @@ -40,10 +40,10 @@ else exit 1 fi -if [ -x $GNUSTEP_SYSTEM_ADMIN_TOOLS/sogod ]; then - sogod="$GNUSTEP_SYSTEM_ADMIN_TOOLS/sogod" -elif [ -x $GNUSTEP_LOCAL_ADMIN_TOOLS/sogod ]; then +if [ -x $GNUSTEP_LOCAL_ADMIN_TOOLS/sogod ]; then sogod="$GNUSTEP_LOCAL_ADMIN_TOOLS/sogod" +elif [ -x $GNUSTEP_SYSTEM_ADMIN_TOOLS/sogod ]; then + sogod="$GNUSTEP_SYSTEM_ADMIN_TOOLS/sogod" else echo "Can't find sogod" exit 1