[packages/sddm] Quote things to avoid wrong word splitting

glen glen at pld-linux.org
Fri Feb 19 08:13:02 CET 2021


commit d0b09911259dc8e0af4d40484d8b1a9255dcbf48
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Feb 19 09:12:31 2021 +0200

    Quote things to avoid wrong word splitting

 wayland-session | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/wayland-session b/wayland-session
index 3dbb34f..547a3cb 100755
--- a/wayland-session
+++ b/wayland-session
@@ -1,6 +1,6 @@
 #!/bin/sh
 
 [ -f /etc/profile ] && . /etc/profile
-[ -f $HOME/.profile ] && . $HOME/.profile
+[ -f "$HOME/.profile" ] && . "$HOME/.profile"
 
-exec $@
+exec "$@"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sddm.git/commitdiff/d0b09911259dc8e0af4d40484d8b1a9255dcbf48



More information about the pld-cvs-commit mailing list