Fix unbound variable error in optimise test.

This commit is contained in:
Ben Radford 2023-07-20 11:27:28 +01:00
parent 2c66a093e0
commit 2fc00ec19f
No known key found for this signature in database
GPG key ID: 9DF5D4640AB888D5

View file

@ -32,7 +32,7 @@ remountOverlayfs
dupFilename="${dupFileStorePath#/nix/store}" dupFilename="${dupFileStorePath#/nix/store}"
lowerPath="$storeA/$dupFileStorePath" lowerPath="$storeA/$dupFileStorePath"
upperPath="$storeBTop/$dupFilename" upperPath="$storeBTop/$dupFilename"
overlayPath="$mergedStorePath/$dupFilename" overlayPath="$storeBRoot/nix/store/$dupFilename"
# Check store path exists in both layers and overlay # Check store path exists in both layers and overlay
lowerInode=$(stat -c %i "$lowerPath") lowerInode=$(stat -c %i "$lowerPath")