From 92e7aaf801d1bf4b357a406027bf0729cf0f9035 Mon Sep 17 00:00:00 2001 From: Stig Sandbeck Mathisen Date: Sat, 4 Oct 2014 19:43:08 +0200 Subject: [PATCH] relax bash regexp a bit, to allow for /usr/bin/env bash --- t/test.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ); }