gnu: icedove/wayland: Wrap quotes around ‘$@’ in the executable.

Fixes <https://issues.guix.gnu.org/66643>.

* gnu/packages/gnuzilla (icedove/wayland)[arguments]: Wrap quotes around ‘$@’
in the executable script.

Signed-off-by: Clément Lassieur <clement@lassieur.org>
This commit is contained in:
Aleksandr Vityazev 2024-01-12 07:32:05 +03:00 committed by Clément Lassieur
parent 5960c3cdc4
commit de9aafae17
No known key found for this signature in database
GPG key ID: 89F96D4808F359C7

View file

@ -20,6 +20,7 @@
;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Baptiste Strazzul <bstrazzull@hotmail.fr>
;;; Copyright © 2022 SeerLite <seerlite@disroot.org>
;;; Copyright © 2024 Aleksandr Vityazev <avityazew@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -2091,7 +2092,7 @@ (define-public icedove/wayland
(call-with-output-file exe
(lambda (port)
(format port "#!~a
MOZ_ENABLE_WAYLAND=1 exec ~a $@"
MOZ_ENABLE_WAYLAND=1 exec ~a \"$@\""
#$(file-append bash-minimal "/bin/bash")
#$(file-append icedove "/bin/icedove"))))
(chmod exe #o555)