mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-01 08:00:37 +00:00
Shifting Fetch statement to the right place
This commit is contained in:
parent
b179afe20a
commit
75936e17b6
|
@ -9,12 +9,12 @@ set DLPAGE=http://skanthak.homepage.t-online.de/download
|
||||||
set CURLVERSION=curl-7.64.1.cab
|
set CURLVERSION=curl-7.64.1.cab
|
||||||
set LINK=%DLPAGE%/%CURLVERSION%
|
set LINK=%DLPAGE%/%CURLVERSION%
|
||||||
rem Check if curl exists
|
rem Check if curl exists
|
||||||
echo Fetching %LINK%
|
|
||||||
|
|
||||||
curl --version 2>NUL 1>&2
|
curl --version 2>NUL 1>&2
|
||||||
|
|
||||||
if %ERRORLEVEL == 9009 (
|
if %ERRORLEVEL == 9009 (
|
||||||
mkdir internal\curl >NUL
|
mkdir internal\curl >NUL
|
||||||
|
echo Fetching %LINK%
|
||||||
explorer %LINK%
|
explorer %LINK%
|
||||||
rem we should wait until the file is downloaded, because explorer returns straight away
|
rem we should wait until the file is downloaded, because explorer returns straight away
|
||||||
"%SystemRoot%\system32\expand.exe" "%USERPROFILE%\Desktop\%CURLVERSION%" /F:* internal\curl
|
"%SystemRoot%\system32\expand.exe" "%USERPROFILE%\Desktop\%CURLVERSION%" /F:* internal\curl
|
||||||
|
|
Loading…
Reference in a new issue