2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

relax bash regexp a bit, to allow for /usr/bin/env bash

This commit is contained in:
Stig Sandbeck Mathisen 2014-10-04 19:43:08 +02:00
parent 2333696650
commit 92e7aaf801

View File

@ -56,7 +56,7 @@ sub process_file {
ok( check_file_with( [ 'ksh', '-n', $file ] ),
$filename . " ksh syntax check" );
}
elsif ( $interpreter =~ m{/bin/bash} ) {
elsif ( $interpreter =~ m{bash} ) {
ok( check_file_with( [ 'bash', '-n', $file ] ),
$filename . " bash syntax check" );
}