aboutsummaryrefslogtreecommitdiff
path: root/check/sh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'check/sh.sh')
-rw-r--r--check/sh.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/check/sh.sh b/check/sh.sh
new file mode 100644
index 00000000..53d8c4b6
--- /dev/null
+++ b/check/sh.sh
@@ -0,0 +1,5 @@
+for sh in sh/* sh/profile.d/* sh/shrc.d/* ; do
+ [ -f "$sh" ] || continue
+ sh -n "$sh" || exit
+done
+printf 'All sh(1) scripts parsed successfully.\n'