From 59c51be2900b896d87b2393faecfef732d015e34 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 6 Jul 2014 21:26:11 +0200 Subject: build: Get the canonical $HOME name when testing 'guix package'. * tests/guix-package.sh (HOME): Recompute using 'pwd -P'. --- tests/guix-package.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/guix-package.sh b/tests/guix-package.sh index c9e0c08a22..4d75955411 100644 --- a/tests/guix-package.sh +++ b/tests/guix-package.sh @@ -194,6 +194,9 @@ export HOME mkdir -p "$HOME" +# Get the canonical directory name so that 'guix package' recognizes it. +HOME="`cd $HOME; pwd -P`" + guix package --bootstrap -i guile-bootstrap test -L "$HOME/.guix-profile" test -f "$HOME/.guix-profile/bin/guile" -- cgit v1.2.3