Ensure the script path is detected properly

This commit is contained in:
Manuel Thalmann 2024-08-09 14:45:50 +02:00
parent a460608b10
commit f01409fcd5

View file

@ -74,7 +74,7 @@ $null = New-Module {
""
}
}) +
"`$env:INSTALLER_SCRIPT = $(ConvertTo-Injection $env:INSTALLER_SCRIPT);" +
"`$env:INSTALLER_SCRIPT = $(ConvertTo-Injection (Resolve-Path $env:INSTALLER_SCRIPT));" +
"`$env:CONFIG_MODULE = $(ConvertTo-Injection $env:CONFIG_MODULE);" +
"& `$env:INSTALLER_SCRIPT;"
);