From 9e7b87ddc51c640c529d445e350c3d6ef43e301d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 13 May 2018 16:07:12 +0200 Subject: [PATCH] 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 52082c650f..aaadcf205b 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