diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2019-06-17 22:46:39 +0300 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2019-06-17 22:46:39 +0300 |
| commit | 4268d43c8d5a91422965b80051cbcabade6a4829 (patch) | |
| tree | 488ec1b6b3aff4e50161f2a2cd490eea2bf9bba0 | |
| parent | c08ffc7218786d4e8b217d0e3a49ef1f0fa91413 (diff) | |
| download | portablepython-4268d43c8d5a91422965b80051cbcabade6a4829.tar.gz portablepython-4268d43c8d5a91422965b80051cbcabade6a4829.zip | |
Fix build script
| -rw-r--r-- | download.ps1 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/download.ps1 b/download.ps1 index b77b8f5..4abe754 100644 --- a/download.ps1 +++ b/download.ps1 @@ -24,11 +24,9 @@ Write-Output "Target: $target" Write-Output "Target dir: $targetdir" Write-Output "Log file: $logfile" -# $client = New-Object System.Net.WebClient -# $client.DownloadFile($url, $target) +$client = New-Object System.Net.WebClient +$client.DownloadFile($url, $target) -# ((Get-Content -path unattend.xml.in -raw) -replace 'TARGET_DIR',$targetdir) | Set-Content -path unattend.xml - -# & "$target" /quiet /log "$logfile" +((Get-Content -path unattend.xml.in -raw) -replace 'TARGET_DIR',$targetdir) | Set-Content -path unattend.xml Start-Process -FilePath "$target" -ArgumentList "/quiet","/log","$logfile" -Wait |
