Specify bash strictness options (#1924)

This commit is contained in:
Andrew Gaul 2022-03-12 17:01:27 +09:00 committed by GitHub
parent 5c57e17b77
commit d2d75787d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
#-----------------------------------------------------------