From f91a62f9321ac0d65fe52ad802332d3e1c8ede16 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Tue, 24 Sep 2024 00:34:06 +0200 Subject: [PATCH] packages: website: release: help: fix program name. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The GNU Coding Standards has the following in the chapter "4.8.1 --version"[1]: The program’s name should be a constant string; don’t compute it from argv[0]. The idea is to state the standard or canonical name for the program, not its file name. There are other ways to find out the precise file name where a command is found in PATH. [1]https://www.gnu.org/prep/standards/standards.html#g_t_002d_002dversion This fixes that. Signed-off-by: Denis 'GNUtoo' Carikli --- resources/packages/website/release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/packages/website/release b/resources/packages/website/release index 5ed580e..7189cad 100755 --- a/resources/packages/website/release +++ b/resources/packages/website/release @@ -16,7 +16,7 @@ . resources/scripts/misc/sysexits.sh -progname="resources/packages/website/release" +progname="release" set -e