You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2024/04/22 19:35:56 UTC

(logging-log4j-scala) 01/03: Enable "strict mode" for `generate-email.sh`

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-scala.git

commit cb8641e912b15118f6be3e539ced9cb9cda0c3fa
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Mon Apr 22 21:35:32 2024 +0200

    Enable "strict mode" for `generate-email.sh`
---
 .github/generate-email.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/generate-email.sh b/.github/generate-email.sh
index 2024033..48beb40 100755
--- a/.github/generate-email.sh
+++ b/.github/generate-email.sh
@@ -16,6 +16,10 @@
 # limitations under the License.
 #
 
+# Enable strict mode
+set -euo pipefail
+IFS=$'\n\t'
+
 SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
 
 stderr() {