guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: icedove/wayland: Wrap quotes around ‘$@’ in


From: guix-commits
Subject: branch master updated: gnu: icedove/wayland: Wrap quotes around ‘$@’ in the executable.
Date: Fri, 12 Jan 2024 06:57:59 -0500

This is an automated email from the git hooks/post-receive script.

snape pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new de9aafae17 gnu: icedove/wayland: Wrap quotes around ‘$@’ in the 
executable.
de9aafae17 is described below

commit de9aafae173b9ee2ea7c41e65bd8a98b50698ae6
Author: Aleksandr Vityazev <avityazew@gmail.com>
AuthorDate: Fri Jan 12 07:32:05 2024 +0300

    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>
---
 gnu/packages/gnuzilla.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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)



reply via email to

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