From a5821c3a4d5cf9007721434ca5017b69b69d17dc Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Sat, 19 Mar 2016 16:47:55 -0700 Subject: [PATCH] s/sh/bash/ in SC2176 because of posix guarantees. --- ShellCheck/Analytics.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShellCheck/Analytics.hs b/ShellCheck/Analytics.hs index 6f92155..2f749a6 100644 --- a/ShellCheck/Analytics.hs +++ b/ShellCheck/Analytics.hs @@ -1872,7 +1872,7 @@ checkTimedCommand _ = checkUnqualifiedCommand "time" f where f c args@(_:_) = do let cmd = last args when (isPiped cmd) $ - warn (getId c) 2176 "'time' is undefined for pipelines. time single stage or sh -c instead." + warn (getId c) 2176 "'time' is undefined for pipelines. time single stage or bash -c instead." when (isSimple cmd == Just False) $ warn (getId cmd) 2177 "'time' is undefined for compound commands, time sh -c instead." f _ _ = return () -- GitLab