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:
parent
2333696650
commit
92e7aaf801
2
t/test.t
2
t/test.t
@ -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" );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user