diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-07-06 21:26:11 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-07-06 21:26:11 +0200 |
commit | 59c51be2900b896d87b2393faecfef732d015e34 (patch) | |
tree | 1b06628bb79ebbc5901d2f9b57fc522e575ccd49 /tests/guix-package.sh | |
parent | 6171070bec84bd84d1659576d646c9368531eacc (diff) | |
download | gnu-guix-59c51be2900b896d87b2393faecfef732d015e34.tar gnu-guix-59c51be2900b896d87b2393faecfef732d015e34.tar.gz |
build: Get the canonical $HOME name when testing 'guix package'.
* tests/guix-package.sh (HOME): Recompute using 'pwd -P'.
Diffstat (limited to 'tests/guix-package.sh')
-rw-r--r-- | tests/guix-package.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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" |