[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: guix: renpy-build-system: Quote data directory.
From: |
guix-commits |
Subject: |
01/08: guix: renpy-build-system: Quote data directory. |
Date: |
Tue, 23 Feb 2021 18:58:35 -0500 (EST) |
leoprikler pushed a commit to branch master
in repository guix.
commit a1fd8f01b2f599a538f193a218ebaea12c71302c
Author: Leo Prikler <leo.prikler@student.tugraz.at>
AuthorDate: Sun Feb 21 00:47:35 2021 +0100
guix: renpy-build-system: Quote data directory.
This prevents generated launchers and desktop files from inadvertently
crashing if the directory name contains a space.
* gnu/build/renpy-build-system.scm (install, install-desktop-file): Use ~s
to format data directory.
---
guix/build/renpy-build-system.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/guix/build/renpy-build-system.scm
b/guix/build/renpy-build-system.scm
index 464fc97..6668397 100644
--- a/guix/build/renpy-build-system.scm
+++ b/guix/build/renpy-build-system.scm
@@ -57,7 +57,7 @@
(delete-file (string-append data "/renpy-build.json"))
(call-with-output-file launcher
(lambda (port)
- (format port "#!~a~%~a ~a \"$@\""
+ (format port "#!~a~%~a ~s \"$@\""
(which "bash")
(which "renpy")
data)))
@@ -77,8 +77,9 @@
(string-append out "/share/applications/" executable-name ".desktop")
#:name (assoc-ref json-dump "name")
#:generic-name (assoc-ref build "display_name")
- #:exec (string-append (which "renpy") " "
- out "/share/renpy/" directory-name)
+ #:exec (format #f "~a ~s"
+ (which "renpy")
+ (string-append out "/share/renpy/" directory-name))
#:categories '("Game" "Visual Novel")))
#t)
- branch master updated (53c40b3 -> 22ba2bb), guix-commits, 2021/02/23
- 02/08: gnu: Add oshu., guix-commits, 2021/02/23
- 01/08: guix: renpy-build-system: Quote data directory.,
guix-commits <=
- 03/08: gnu: libmesode: Update source, home-page URIs., guix-commits, 2021/02/23
- 04/08: gnu: libmesode: Disable static libraries., guix-commits, 2021/02/23
- 05/08: gnu: libstrophe: Update to 0.10.1., guix-commits, 2021/02/23
- 07/08: gnu: profanity: Add missing inputs., guix-commits, 2021/02/23
- 08/08: gnu: profanity: Disable static libraries., guix-commits, 2021/02/23
- 06/08: gnu: libstrophe: Disable static libraries., guix-commits, 2021/02/23