guix-commits
[Top][All Lists]
Advanced

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

02/06: website: utils: Fix 'manual-url'.


From: Ludovic Courtès
Subject: 02/06: website: utils: Fix 'manual-url'.
Date: Thu, 2 May 2019 07:10:31 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix-artwork.

commit 6052a49ab5155024cb3e4a600bd10ace9af08cc5
Author: Ludovic Courtès <address@hidden>
Date:   Thu May 2 12:59:06 2019 +0200

    website: utils: Fix 'manual-url'.
    
    Regression introduced in bf3e4912864812c284687ede4e0ce36e4051ca1a.
    
    * website/apps/base/utils.scm (manual-url): Pass a single argument to
    'guix-url'.
---
 website/apps/base/utils.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/website/apps/base/utils.scm b/website/apps/base/utils.scm
index 8d901df..91946eb 100644
--- a/website/apps/base/utils.scm
+++ b/website/apps/base/utils.scm
@@ -113,10 +113,11 @@
      A URL path. For example:
      /software/guix/manual/en/html_node/System-installation.html."
   (string-append
-   (guix-url (if (getenv "GUIX_WEB_SITE_INFO")
-                 (string-append "manual/" language "/")
-                 (string-append "manual/" language "/html_node/"))
-             subpath)))
+   (guix-url (string-append (if (getenv "GUIX_WEB_SITE_INFO")
+                                (string-append "manual/" language "/")
+                                (string-append "manual/" language
+                                               "/html_node/"))
+                            subpath))))
 
 
 



reply via email to

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