[jhbuild/wip/lantw/examples-quote-shell-variables: 2/2] examples: Quote shell variables
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild/wip/lantw/examples-quote-shell-variables: 2/2] examples: Quote shell variables
- Date: Tue, 8 Oct 2019 14:35:23 +0000 (UTC)
commit 87142459bddfdba2f28161cf53ef328b7db737b5
Author: Ting-Wei Lan <lantw src gnome org>
Date: Tue Oct 8 02:24:58 2019 +0800
examples: Quote shell variables
It isn't caught by shellcheck, but it should be nice to always do so.
examples/jhbuild-session | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/examples/jhbuild-session b/examples/jhbuild-session
index 1012d9e7..fc4ff4d6 100755
--- a/examples/jhbuild-session
+++ b/examples/jhbuild-session
@@ -13,9 +13,9 @@ export PATH LD_LIBRARY_PATH PYTHONPATH PKG_CONFIG_PATH GDK_USE_XFT XDG_DATA_DIRS
# Pick up systemd units defined in jhbuild
mkdir -p "$XDG_RUNTIME_DIR/systemd/user.control"
-command cp -r ${GNOME}/lib/systemd/user/* "$XDG_RUNTIME_DIR/systemd/user.control"
+command cp -r "${GNOME}/lib/systemd/user/"* "$XDG_RUNTIME_DIR/systemd/user.control"
systemctl --user daemon-reload
-#exec valgrind --tool=memcheck --log-file=/tmp/session-grind.log ${GNOME}/bin/gnome-session
-exec ${GNOME}/bin/gnome-session --debug
+#exec valgrind --tool=memcheck --log-file=/tmp/session-grind.log "${GNOME}/bin/gnome-session"
+exec "${GNOME}/bin/gnome-session" --debug
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]