gnuboot-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v1 15/18] packages: website: release: help: fix program name.


From: Denis 'GNUtoo' Carikli
Subject: [PATCH v1 15/18] packages: website: release: help: fix program name.
Date: Sun, 13 Oct 2024 17:13:20 +0200

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 <GNUtoo@cyberdimension.org>
---
 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
 
-- 
2.46.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]