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:
parent
2333696650
commit
92e7aaf801
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue