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'.
This commit is contained in:
Ludovic Courtès 2018-05-13 16:07:12 +02:00
parent fb8aff71cb
commit 9e7b87ddc5
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -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