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}"
lowerPath="$storeA/$dupFileStorePath"
upperPath="$storeBTop/$dupFilename"
overlayPath="$mergedStorePath/$dupFilename"
overlayPath="$storeBRoot/nix/store/$dupFilename"
# Check store path exists in both layers and overlay
lowerInode=$(stat -c %i "$lowerPath")