Subject: [bug#66643] [PATCH v2] gnu: icedove/wayland: Use escaped "$@" in the executable

From: Aleksandr Vityazev <[email-masked]>
Date: Fri, 12 Jan 2024 07:32:05 +0300

* gnu/packages/gnuzilla (icedove/wayland): Use escaped "$@" in
the executable script.
---
 gnu/packages/gnuzilla.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 188aa02293..7caa044f83 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -2091,7 +2091,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)

-- 
2.41.0

-- 
Best regards,
Aleksandr Vityazev