aboutsummaryrefslogtreecommitdiff
path: root/lint/urxvt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lint/urxvt.sh')
-rw-r--r--lint/urxvt.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/lint/urxvt.sh b/lint/urxvt.sh
index 507034be..477157f7 100644
--- a/lint/urxvt.sh
+++ b/lint/urxvt.sh
@@ -1 +1,6 @@
-find urxvt/ext -type f ! -name '*.pl' -print -exec perlcritic --brutal -- {} \;
+set --
+for pl in urxvt/ext/*.pl ; do
+ set -- "$@" "${pl%.pl}"
+done
+perlcritic --brutal -- "${pl%.pl}"
+printf 'URxvt Perl extensions linted successfully.\n'