diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-07-10 01:00:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-07-10 01:00:19 +0200 |
commit | 03aedf8d7a05b8ce6793d1d4e0718d41c5a4c894 (patch) | |
tree | ec88738b5cd434292ef46784fb343f40b9fbd23c /tests | |
parent | b592f7113edf6eccef8dcd5926616e09621e08c8 (diff) | |
download | patches-03aedf8d7a05b8ce6793d1d4e0718d41c5a4c894.tar patches-03aedf8d7a05b8ce6793d1d4e0718d41c5a4c894.tar.gz |
tests: Fix guix-package.sh in the presence of multiple-output `make'.
* tests/guix-package.sh: For $boot_make_drv, take only the "out" output.
Reported by Nikita Karetnikov <nikita@karetnikov.org>.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/guix-package.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/guix-package.sh b/tests/guix-package.sh index 0eeec51e79..ee186ead83 100644 --- a/tests/guix-package.sh +++ b/tests/guix-package.sh @@ -55,7 +55,7 @@ test "`guix package --search-paths -p "$profile" | wc -l`" = 0 if guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' 2> /dev/null then boot_make="(@@ (gnu packages base) gnu-make-boot0)" - boot_make_drv="`guix build -e "$boot_make"`" + boot_make_drv="`guix build -e "$boot_make" | tail -1`" guix package --bootstrap -p "$profile" -i "$boot_make_drv" test -L "$profile-2-link" test -f "$profile/bin/make" && test -f "$profile/bin/guile" |