From d9da7a7a1ab5b4199b17770d222fc5f041e4ad3e Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 2 Dec 2020 07:46:50 +0200 Subject: test: use shellcheck to check most shell code Split the Bash template into smaller files that don't use templating, and check those file. Fix the couple of things shellcheck complained about. --- echo.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'echo.sh') diff --git a/echo.sh b/echo.sh index 44f272a..0564d42 100644 --- a/echo.sh +++ b/echo.sh @@ -1,3 +1,5 @@ +#!/bin/bash + _run() { if "$@" < /dev/null > stdout 2> stderr -- cgit v1.2.1