From d2d75787d201ee1346555df0e99a618076afe7e6 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Sat, 12 Mar 2022 17:01:27 +0900 Subject: [PATCH] Specify bash strictness options (#1924) --- .github/workflows/linux-ci-helper.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux-ci-helper.sh b/.github/workflows/linux-ci-helper.sh index 0cb7463..f93c4ee 100755 --- a/.github/workflows/linux-ci-helper.sh +++ b/.github/workflows/linux-ci-helper.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # s3fs - FUSE-based file system backed by Amazon S3 # @@ -19,13 +19,17 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -echo "${PRGNAME} [INFO] Start Linux helper for installing packages." +set -o errexit +set -o nounset +set -o pipefail #----------------------------------------------------------- # Common variables #----------------------------------------------------------- PRGNAME=$(basename "$0") +echo "${PRGNAME} [INFO] Start Linux helper for installing packages." + #----------------------------------------------------------- # Parameter check #-----------------------------------------------------------