summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-07-06 21:26:11 +0200
committerLudovic Courtès <ludo@gnu.org>2014-07-06 21:26:11 +0200
commit59c51be2900b896d87b2393faecfef732d015e34 (patch)
tree1b06628bb79ebbc5901d2f9b57fc522e575ccd49
parent6171070bec84bd84d1659576d646c9368531eacc (diff)
downloadguix-59c51be2900b896d87b2393faecfef732d015e34.tar.gz
build: Get the canonical $HOME name when testing 'guix package'.
* tests/guix-package.sh (HOME): Recompute using 'pwd -P'.
-rw-r--r--tests/guix-package.sh3
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"