diff --git a/scripts/runps-simple.sh b/scripts/runps-simple.sh index 63615f271d..24cd30aa42 100755 --- a/scripts/runps-simple.sh +++ b/scripts/runps-simple.sh @@ -4,4 +4,4 @@ CWD=$(pwd) SCRIPTDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) cd "$SCRIPTDIR" -PSMODULEPATH="$SCRIPTDIR/Modules" LD_LIBRARY_PATH="$SCRIPTDIR" ./host_cmdline -c ../coreclr -alc Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll -tpa powershell-simple.exe powershell-simple.exe "$@" +CORE_ROOT=../coreclr PSMODULEPATH="$SCRIPTDIR/Modules" LD_LIBRARY_PATH="$SCRIPTDIR" ./host_cmdline -alc Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll -tpa powershell-simple.exe powershell-simple.exe "$@" diff --git a/scripts/runps-test.sh b/scripts/runps-test.sh index 5196f708be..83644c2d41 100755 --- a/scripts/runps-test.sh +++ b/scripts/runps-test.sh @@ -4,4 +4,4 @@ CWD=$(pwd) SCRIPTDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) cd "$SCRIPTDIR" -PSMODULEPATH="$SCRIPTDIR/Modules" LD_LIBRARY_PATH="$SCRIPTDIR" ./host_cmdline -c ../coreclr -alc Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll -tpa xunit.console.netcore.exe xunit.console.netcore.exe "$@" +CORE_ROOT=../coreclr PSMODULEPATH="$SCRIPTDIR/Modules" LD_LIBRARY_PATH="$SCRIPTDIR" ./host_cmdline -alc Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll -tpa xunit.console.netcore.exe xunit.console.netcore.exe "$@" diff --git a/scripts/runps.sh b/scripts/runps.sh index d47a5e77ee..2110ff4613 100755 --- a/scripts/runps.sh +++ b/scripts/runps.sh @@ -4,4 +4,4 @@ CWD=$(pwd) SCRIPTDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) cd "$SCRIPTDIR" -PSMODULEPATH="$SCRIPTDIR/Modules" LD_LIBRARY_PATH="$SCRIPTDIR" ./host_cmdline -c ../coreclr -alc Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll -tpa powershell-run.exe powershell-run.exe "$@" +CORE_ROOT=../coreclr PSMODULEPATH="$SCRIPTDIR/Modules" LD_LIBRARY_PATH="$SCRIPTDIR" ./host_cmdline -alc Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll -tpa powershell-run.exe powershell-run.exe "$@"