diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-05-13 16:07:12 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-05-13 23:16:16 +0200 |
commit | 9e7b87ddc51c640c529d445e350c3d6ef43e301d (patch) | |
tree | ea814b866163adf2a173c2a4be74bef1577fdc3a | |
parent | fb8aff71cb24fe4d51b780d129d3a743cd6fdca1 (diff) | |
download | guix-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'.
-rw-r--r-- | build-aux/test-env.in | 1 |
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 |