Remove cd.
This commit is contained in:
parent
3d0fbfee8d
commit
64512c822e
|
@ -361,8 +361,7 @@ for:
|
|||
- ps: |
|
||||
Invoke-WebRequest -Uri "https://gist.githubusercontent.com/dismine/43f3c51e05f3317c5d4fe16cd3c4b6d8/raw/2d297bcb53c2c022f740509923adf1eb1796afe2/qbs-pkg-config-probe.patch" -OutFile "$env:USERPROFILE\qbs-pkg-config-probe.patch"
|
||||
$qbsInstallationDir = "C:\ProgramData\chocolatey\lib\qbs\tools"
|
||||
cd $qbsInstallationDir
|
||||
cmd.exe /c "patch -p1 -N -d . -i $env:USERPROFILE\qbs-pkg-config-probe.patch"
|
||||
cmd.exe /c "patch -p1 -N -d $qbsInstallationDir -i $env:USERPROFILE\qbs-pkg-config-probe.patch"
|
||||
Remove-Item -Path "$qbsInstallationDir\share\qbs\imports\qbs\Probes\qbs-pkg-config-probe.js.rej" -ErrorAction SilentlyContinue
|
||||
Remove-Item -Path "$env:USERPROFILE\qbs-pkg-config-probe.patch" -ErrorAction SilentlyContinue
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user