diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-07-20 22:32:34 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-07-20 22:39:02 +0200 |
commit | 58f485cc803b978a048cdb4d9c472e48a662744c (patch) | |
tree | b10bd582e90aac787d0b76958dcbaa8fc824651c | |
parent | 7779ab611da79cced8fecc0b423577bf0836dc0f (diff) | |
download | gnu-guix-58f485cc803b978a048cdb4d9c472e48a662744c.tar gnu-guix-58f485cc803b978a048cdb4d9c472e48a662744c.tar.gz |
build: Fix typo that would lead to hitting the socket name length limit.
* tests/guix-register.sh: Remove redundant $new_store in $NIX_STATE_DIR,
introduced in 689142cd ("guix-register: Add '--state-directory'
parameter.") Reported by Eric Bavier <ericbavier@gmail.com> and
Alen Skondro <askondro@gmail.com>.
-rw-r--r-- | tests/guix-register.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/guix-register.sh b/tests/guix-register.sh index e258ec1244..3f261d7bef 100644 --- a/tests/guix-register.sh +++ b/tests/guix-register.sh @@ -86,7 +86,7 @@ guix-register -p "$new_store" \ # Now make sure this is recognized as valid. ls -R "$new_store" -for state_dir in "$new_store$localstatedir/guix" "$new_store/chbouib" +for state_dir in "$localstatedir/guix" "/chbouib" do NIX_STORE_DIR="$new_store_dir" NIX_STATE_DIR="$new_store$state_dir" |