aboutsummaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-31 22:51:42 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-31 22:51:42 +1300
commitc7b833ff1cfb189f3d841f376f480b478a6bec49 (patch)
treeb49b3df966c42ee0e8e984c48f0d0d6412bf7187 /check
parentCheck and lint URxvt Perls correctly (diff)
downloaddotfiles-c7b833ff1cfb189f3d841f376f480b478a6bec49.tar.gz
dotfiles-c7b833ff1cfb189f3d841f376f480b478a6bec49.zip
Inline check arguments for URxvt perls
There's no point making a list out of just one globbed item; we'll just inline it. That's also done for some of the other `check` scripts anyway.
Diffstat (limited to 'check')
-rw-r--r--check/urxvt.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/check/urxvt.sh b/check/urxvt.sh
index 9fff4502..4a9e7501 100644
--- a/check/urxvt.sh
+++ b/check/urxvt.sh
@@ -1,5 +1,4 @@
-set -- urxvt/ext/*.pl
-for perl ; do
+for perl in urxvt/ext/*.pl ; do
perl -c "${perl%.pl}" || exit
done
printf 'URxvt Perl extensions parsed successfully.\n'