civodul pushed a commit to branch master
in repository guix.

commit 9e7b87ddc51c640c529d445e350c3d6ef43e301d
Author: Ludovic Courtès <l...@gnu.org>
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