Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Dax T. Games committed Feb 26, 2020
1 parent 38743e6 commit f78d166
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions floppy/_download.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if defined wget goto wget

if not exist "%wget%" goto powershell

echo ==^> Downloading "%url%" to "%filename%" with "wget.exe"...
echo ==^> Downloading "%url%" to "%filename%" using "%wget%"...

if not defined PACKER_DEBUG set WGET_OPTS=--no-verbose

Expand All @@ -61,7 +61,7 @@ if defined http_proxy (
if not errorlevel 1 if exist "%filename%" goto exit0

:powershell
echo ==^> Downloading "%url%" to "%filename%" using Powershell...
echo ==^> Downloading "%url%" to "%filename%" using "Powershell"...

if defined http_proxy (
set "ps1_proxy=$wc.proxy = (new-object System.Net.WebProxy('%http_proxy%')) ;"
Expand Down Expand Up @@ -90,7 +90,7 @@ if not defined bitsadmin set bitsadmin=%SystemRoot%\System32\bitsadmin.exe

if not exist "%bitsadmin%" goto exit 1

echo ==^> Downloading "%url%" to "%filename%" with "BITS"...
echo ==^> Downloading "%url%" to "%filename%" using "BITS"...

for %%i in ("%filename%") do set jobname=%%~nxi

Expand Down

0 comments on commit f78d166

Please sign in to comment.