[gnome-session] Remove ShellCheck warning from gnome-session.in



commit e05c6404c99426fff8a940b5b916b3deef7a68aa
Author: Hugo Musso Gualandi <hugo_musso_gualandi hotmail com>
Date:   Wed Jun 17 19:42:36 2020 -0300

    Remove ShellCheck warning from gnome-session.in
    
    Explicitly setting the variable to an empty string is a bit more more readable.
    See https://www.shellcheck.net/wiki/SC1007

 gnome-session/gnome-session.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-session/gnome-session.in b/gnome-session/gnome-session.in
index edec0ae0..ddd1a591 100755
--- a/gnome-session/gnome-session.in
+++ b/gnome-session/gnome-session.in
@@ -13,7 +13,7 @@ if [ "x$XDG_SESSION_TYPE" = "xwayland" ] &&
   fi
 fi
 
-SETTING=$(G_MESSAGES_DEBUG= gsettings get org.gnome.system.locale region)
+SETTING=$(G_MESSAGES_DEBUG='' gsettings get org.gnome.system.locale region)
 REGION=${SETTING#\'}
 REGION=${REGION%\'}
 


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