diff --git a/t/test.t b/t/test.t index 8b507715..0c4f6730 100644 --- a/t/test.t +++ b/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" ); }