From ac27eb88003c04c9d41f038076300eeba4f1ba23 Mon Sep 17 00:00:00 2001
From: vPierre <72132223+Pierre-Gronau-ndaal@users.noreply.github.com>
Date: Thu, 16 Jan 2025 13:42:26 +0100
Subject: [PATCH] Update generate_notice.sh

---
 api/generate_notice.sh | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/api/generate_notice.sh b/api/generate_notice.sh
index 615ddd5d..a8e00661 100755
--- a/api/generate_notice.sh
+++ b/api/generate_notice.sh
@@ -1,5 +1,10 @@
-#!/bin/bash
-set -e
+#!/usr/bin/env bash
+
+set -o errexit
+set -o errtrace
+set -o nounset
+set -o pipefail
+
 # Any subsequent(*) commands which fail will cause the shell script to exit immediately
 
 allow_only="MIT"