guix-commits
[Top][All Lists]
Advanced

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

02/03: download: Fix return value of the url-fetch procedure.


From: Ludovic Courtès
Subject: 02/03: download: Fix return value of the url-fetch procedure.
Date: Sun, 28 Jan 2018 17:53:25 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 8fbc1a22084640ad5cd0df1234bfd42b5d92ef98
Author: Maxim Cournoyer <address@hidden>
Date:   Sat Jan 27 12:22:11 2018 -0500

    download: Fix return value of the url-fetch procedure.
    
    Fixes <https://bugs.gnu.org/30270>.
    Regression was introduced by commit 347fa4aebf.
    
    * guix/build/download.scm (url-fetch): Return `file' instead of #t upon 
success.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 guix/build/download.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/build/download.scm b/guix/build/download.scm
index 609a100..1b630a9 100644
--- a/guix/build/download.scm
+++ b/guix/build/download.scm
@@ -770,7 +770,7 @@ otherwise simply ignore them."
                           #:reporter (progress-reporter/file
                                       (uri-abbreviation uri) size))
               (newline)))
-          #t)))
+          file)))
       ((ftp)
        (false-if-exception* (ftp-fetch uri file
                                        #:timeout timeout)))



reply via email to

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