diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-09-22 15:06:18 +0900 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:31 +0200 |
commit | df94888eca214c496b5cdf57795e03b96866c3af (patch) | |
tree | b0a1b381e6afebae5c4d8a4116b729fddb721fb3 /guix/build/gnu-build-system.scm | |
parent | 84a7b7351535a544e92405534f1bfdd692c16a56 (diff) |
utils: Set $0 to basename of command in `wrap-program'.
* guix/build/utils.scm (wrap-program): Set the value of the -a option of
`exec' in the wrapper to ${0##*/} instead of $0, to use its base name instead
of the complete file name.
Fixes: https://issues.guix.gnu.org/73405
Change-Id: Iec5984d4d934c8df88a90ff653947f7d07413ae4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guix/build/gnu-build-system.scm')
0 files changed, 0 insertions, 0 deletions