mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
housekeeping: shellcheck for tests/functional/brotli.sh
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
aeed835a2e
commit
7186c68f75
@ -9,15 +9,15 @@ cacheURI="file://$cacheDir?compression=br"
|
|||||||
|
|
||||||
outPath=$(nix-build dependencies.nix --no-out-link)
|
outPath=$(nix-build dependencies.nix --no-out-link)
|
||||||
|
|
||||||
nix copy --to $cacheURI $outPath
|
nix copy --to "$cacheURI" "$outPath"
|
||||||
|
|
||||||
HASH=$(nix hash path $outPath)
|
HASH=$(nix hash path "$outPath")
|
||||||
|
|
||||||
clearStore
|
clearStore
|
||||||
clearCacheCache
|
clearCacheCache
|
||||||
|
|
||||||
nix copy --from $cacheURI $outPath --no-check-sigs
|
nix copy --from "$cacheURI" "$outPath" --no-check-sigs
|
||||||
|
|
||||||
HASH2=$(nix hash path $outPath)
|
HASH2=$(nix hash path "$outPath")
|
||||||
|
|
||||||
[[ $HASH = $HASH2 ]]
|
[[ $HASH == "$HASH2" ]]
|
||||||
|
Loading…
Reference in New Issue
Block a user