aboutsummaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-31 22:56:20 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-31 22:56:20 +1300
commiteda089748e6d512f0497452d6743a0e88c9649f4 (patch)
tree3fc49ab1060c92aa6bab8ae8e31768646c277d0f /check
parent7464d425b4906f707e034734e9747cabafa9b3a4 (diff)
downloaddotfiles-eda089748e6d512f0497452d6743a0e88c9649f4.tar.gz
Bring Xinit check/lint scripts up to standard
This makes them more consistent with the work already done on the check and lint scripts for the other targets.
Diffstat (limited to 'check')
-rw-r--r--check/xinit.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/check/xinit.sh b/check/xinit.sh
index f8116908..fa235c9d 100644
--- a/check/xinit.sh
+++ b/check/xinit.sh
@@ -1,4 +1,7 @@
-for xinit in X/xinitrc X/xinitrc.d/*.sh ; do
- sh -n "$xinit" || exit
+set \
+ X/xinitrc \
+ X/xinitrc.d/*.sh
+for xinit ; do
+ sh -n -- "$xinit" || exit
done
-printf 'X/xinitrc and all shell scripts in X/xinitrc.d parsed successfully.\n'
+printf 'Xinit startup scripts parsed successfully.\n'