mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-02 21:41:11 +08:00
Copy cache instead of moving
This commit is contained in:
parent
d1526a6fc7
commit
3efa218cbf
1 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ clone_script:
|
|||
|
||||
Write-Host "ProxSpace: move cache..." -NoNewLine
|
||||
|
||||
Move-Item -Path "C:\cache" -Destination "$env:proxspace_path\msys2\var\cache" -ErrorAction SilentlyContinue
|
||||
Copy-Item -Path "C:\cache\*" -Destination "$env:proxspace_path\msys2\var\cache\pacman\pkg" -Recurse -Force -ErrorAction SilentlyContinue
|
||||
|
||||
Write-Host "[ OK ]" -ForegroundColor Gree
|
||||
|
||||
|
@ -255,7 +255,7 @@ build_script:
|
|||
|
||||
ExecMinGWCmd 'yes | pacman -Sc > /dev/null 2>&1'
|
||||
|
||||
Move-Item -Path "$env:proxspace_path\msys2\var\cache" -Destination "C:\cache"
|
||||
Copy-Item -Path "$env:proxspace_path\msys2\var\cache\pacman\pkg\*" -Destination "C:\cache" -Recurse -Force
|
||||
|
||||
Write-Host "[ OK ]" -ForegroundColor Gree
|
||||
|
||||
|
|
Loading…
Reference in a new issue