mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
shellcheck fix: tests/functional/flakes/prefetch.sh
This commit is contained in:
parent
b6f4788a8f
commit
020f67a653
2 changed files with 3 additions and 4 deletions
|
|
@ -3,6 +3,6 @@
|
|||
source common.sh
|
||||
|
||||
# Test symlinks in zip files (#10649).
|
||||
path=$(nix flake prefetch --json file://$(pwd)/tree.zip | jq -r .storePath)
|
||||
[[ $(cat $path/foo) = foo ]]
|
||||
[[ $(readlink $path/bar) = foo ]]
|
||||
path=$(nix flake prefetch --json file://"$(pwd)"/tree.zip | jq -r .storePath)
|
||||
[[ $(cat "$path"/foo) = foo ]]
|
||||
[[ $(readlink "$path"/bar) = foo ]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue