aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandr Vityazev <avityazew@gmail.com>2024-01-12 07:32:05 +0300
committerClément Lassieur <clement@lassieur.org>2024-01-12 12:57:45 +0100
commitde9aafae173b9ee2ea7c41e65bd8a98b50698ae6 (patch)
treeb3a4dd2ff1885eef1eee71fa2234311b207285f1
parent5960c3cdc40a2cd905479d3abeef01dbaf26f3a7 (diff)
downloadguix-de9aafae173b9ee2ea7c41e65bd8a98b50698ae6.tar.gz
guix-de9aafae173b9ee2ea7c41e65bd8a98b50698ae6.zip
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>
-rw-r--r--gnu/packages/gnuzilla.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 188aa02293..ea5de680e5 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -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 @@ associated with their name."))
(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)