summaryrefslogtreecommitdiff
path: root/echo.sh
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-12-02 07:46:50 +0200
committerLars Wirzenius <liw@liw.fi>2020-12-02 08:18:21 +0200
commitd9da7a7a1ab5b4199b17770d222fc5f041e4ad3e (patch)
tree0870b8468df245b43fcef74e0d3b0fc093767f20 /echo.sh
parentff07da8028390c9834212f8898c64f8fbcf30bd7 (diff)
downloadsubplot-d9da7a7a1ab5b4199b17770d222fc5f041e4ad3e.tar.gz
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.
Diffstat (limited to 'echo.sh')
-rw-r--r--echo.sh2
1 files changed, 2 insertions, 0 deletions
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