diff --git a/build/build.ps1 b/build/build.ps1 index 5ecc14d..93135da 100644 --- a/build/build.ps1 +++ b/build/build.ps1 @@ -10,7 +10,7 @@ $CURRENT_DIR = Split-Path -Parent $MyInvocation.MyCommand.Path Write-Host "Current directory: $CURRENT_DIR" # Define the directory to be mounted -$MOUNT_DIR = "${CURRENT_DIR}\..\" +$MOUNT_DIR = Split-Path -Path $CURRENT_DIR -Parent Write-Host "Mount directory: $MOUNT_DIR" Remove-PSDrive -Name "X" -ErrorAction SilentlyContinue