mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-23 09:43:57 +08:00
Use -noprofile in build.sh
This commit is contained in:
parent
fcf4b38370
commit
730c8f04fe
4
build.sh
4
build.sh
@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if hash powershell 2>/dev/null; then
|
||||
echo 'Continuing with `powershell -c Start-PSBuild`'
|
||||
powershell -c "Import-Module ./build.psm1; Start-PSBuild"
|
||||
echo 'Continuing with `powershell -noprofile -c Start-PSBuild`'
|
||||
powershell -noprofile -c "Import-Module ./build.psm1; Start-PSBuild"
|
||||
else
|
||||
echo 'No `powershell`, see docs/building/linux.md or osx.md to build PowerShell!'
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user