aboutsummaryrefslogtreecommitdiff
path: root/check/bash
diff options
context:
space:
mode:
Diffstat (limited to 'check/bash')
-rwxr-xr-xcheck/bash6
1 files changed, 6 insertions, 0 deletions
diff --git a/check/bash b/check/bash
new file mode 100755
index 00000000..f203c2c1
--- /dev/null
+++ b/check/bash
@@ -0,0 +1,6 @@
+#!/bin/sh
+for bash in bash/* bash/bashrc.d/* bash/bash_profile.d/* ; do
+ [ -f "$bash" ] || continue
+ bash -n "$bash" || exit
+done
+printf 'All bash(1) scripts parsed successfully.\n'