guix-commits
[Top][All Lists]
Advanced

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

01/05: build: 'test-env' does not 'guix download' non-existent files.


From: Ludovic Courtès
Subject: 01/05: build: 'test-env' does not 'guix download' non-existent files.
Date: Sun, 13 May 2018 17:16:40 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 9e7b87ddc51c640c529d445e350c3d6ef43e301d
Author: Ludovic Courtès <address@hidden>
Date:   Sun May 13 16:07:12 2018 +0200

    build: 'test-env' does not 'guix download' non-existent files.
    
    Reported by uniq10.
    
    * build-aux/test-env.in: Check whether FILE exists before invoking 'guix
    download'.
---
 build-aux/test-env.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build-aux/test-env.in b/build-aux/test-env.in
index 52082c6..aaadcf2 100644
--- a/build-aux/test-env.in
+++ b/build-aux/test-env.in
@@ -132,6 +132,7 @@ then
 
        for file in "$bootstrap_directory"/guile-*
        do
+           [ -f "$file" ] &&                                   \
            "@abs_top_builddir@/pre-inst-env"                   \
                guix download "file://$file" > /dev/null
        done



reply via email to

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