aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--check/sh.sh4
-rw-r--r--lint/sh.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/check/sh.sh b/check/sh.sh
index 4e816337..c3ff856a 100644
--- a/check/sh.sh
+++ b/check/sh.sh
@@ -1,9 +1,9 @@
set \
sh/profile \
- sh/profile.d/*.sh \
sh/shinit \
sh/shrc \
- sh/shrc.d/*.sh
+ */profile.d/*.sh \
+ */shrc.d/*.sh
for sh do
sh -n -- "$sh" || exit
done
diff --git a/lint/sh.sh b/lint/sh.sh
index b0d28e5d..5884a1ed 100644
--- a/lint/sh.sh
+++ b/lint/sh.sh
@@ -1,7 +1,7 @@
set \
sh/profile \
- sh/profile.d/*.sh \
sh/shinit \
sh/shrc \
- sh/shrc.d/*.sh
+ */profile.d/*.sh \
+ */shrc.d/*.sh
shellcheck -e SC1090 -s sh -- "$@" || exit