From 59c51be2900b896d87b2393faecfef732d015e34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 6 Jul 2014 21:26:11 +0200 Subject: [PATCH] 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(+) 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"