From d6481675e0fd8228d9d0e896f99b12de82c440e1 Mon Sep 17 00:00:00 2001 From: Andrey Petelin Date: Tue, 7 Oct 2025 20:12:14 +0500 Subject: [PATCH] fix: update shebang to env bash and add strict mode for safer script execution in xgettext.sh --- luci-app-podkop/msgmerge.sh | 2 +- luci-app-podkop/xgettext.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/luci-app-podkop/msgmerge.sh b/luci-app-podkop/msgmerge.sh index fd1e7e6..06e5706 100644 --- a/luci-app-podkop/msgmerge.sh +++ b/luci-app-podkop/msgmerge.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail PODIR="po" diff --git a/luci-app-podkop/xgettext.sh b/luci-app-podkop/xgettext.sh index 6826874..7f5d13b 100644 --- a/luci-app-podkop/xgettext.sh +++ b/luci-app-podkop/xgettext.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash +set -euo pipefail SRC_DIR="htdocs/luci-static/resources/view/podkop" OUT_POT="po/templates/podkop.pot"