summaryrefslogtreecommitdiff
path: root/test/script/custom-linting-rules
diff options
context:
space:
mode:
authorBjorn Neergaard <bjorn@neersighted.com>2018-05-01 06:18:03 -0600
committerw0rp <w0rp@users.noreply.github.com>2018-05-01 13:18:03 +0100
commitae85695543c1e303ba062a5359a82c82cac53fd3 (patch)
treed1721711558b7abd228a7f9ff966faf21d5b741b /test/script/custom-linting-rules
parent3331f6c8f4a1a8ffff90ec1a2faea36eff55fe7c (diff)
downloadale-ae85695543c1e303ba062a5359a82c82cac53fd3.zip
Update run-tests to make use of /usr/bin/env (#1548)
* Update run-tests to make use of /usr/bin/env * Update run-vint * Update run-vader-tests * Update custom-linting-rules * Update custom-checks * Update check-toc * Update check-supported-tools-tables
Diffstat (limited to 'test/script/custom-linting-rules')
-rwxr-xr-xtest/script/custom-linting-rules5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/script/custom-linting-rules b/test/script/custom-linting-rules
index ef6d792f..0d1a0fd1 100755
--- a/test/script/custom-linting-rules
+++ b/test/script/custom-linting-rules
@@ -1,4 +1,7 @@
-#!/bin/bash -eu
+#!/usr/bin/env bash
+
+set -e
+set -u
# This Bash script implements custom sanity checks for scripts beyond what
# Vint covers, which are easy to check with regex.