From 3e540185b71e7a3bfa9348a13691bf40569a06aa Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 31 Oct 2017 22:44:56 +1300 Subject: Check and lint URxvt Perls correctly Require that the URxvt Perls are built correctly. There's only one at the moment, so I'll make that the single prerequisite for the `check-urxvt` target. --- check/urxvt.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'check') diff --git a/check/urxvt.sh b/check/urxvt.sh index ee39e6c9..9fff4502 100644 --- a/check/urxvt.sh +++ b/check/urxvt.sh @@ -1,4 +1,5 @@ -for perl in urxvt/ext/*.pl ; do - perl -c "$perl" || exit +set -- urxvt/ext/*.pl +for perl ; do + perl -c "${perl%.pl}" || exit done -printf 'All Perl scripts in urxvt/ext parsed successfully.\n' +printf 'URxvt Perl extensions parsed successfully.\n' -- cgit v1.2.3