aboutsummaryrefslogtreecommitdiff
path: root/build-aux/test-env.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-05-13 16:07:12 +0200
committerLudovic Courtès <ludo@gnu.org>2018-05-13 23:16:16 +0200
commit9e7b87ddc51c640c529d445e350c3d6ef43e301d (patch)
treeea814b866163adf2a173c2a4be74bef1577fdc3a /build-aux/test-env.in
parentfb8aff71cb24fe4d51b780d129d3a743cd6fdca1 (diff)
downloadguix-9e7b87ddc51c640c529d445e350c3d6ef43e301d.tar
guix-9e7b87ddc51c640c529d445e350c3d6ef43e301d.tar.gz
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'.
Diffstat (limited to 'build-aux/test-env.in')
-rw-r--r--build-aux/test-env.in1
1 files changed, 1 insertions, 0 deletions
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