1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00: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" );
}