diff options
author | Rechi <Rechi@users.noreply.github.com> | 2018-04-26 10:00:00 +0200 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2018-04-26 10:00:00 +0200 |
commit | 66e8df8757a82447a0278e0290125485b4c12419 (patch) | |
tree | 0e468998ec5dbc6afbbbc3f54ac6f30ebc5bf04f /project | |
parent | 650b5f2ccd8a747a2a11a64008f5ed0227353aba (diff) |
[cleanup][windows] remove files unused since 383c3dd71d
Diffstat (limited to 'project')
-rw-r--r-- | project/BuildDependencies/scripts/dlextract.bat | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/project/BuildDependencies/scripts/dlextract.bat b/project/BuildDependencies/scripts/dlextract.bat deleted file mode 100644 index 90a65a356a..0000000000 --- a/project/BuildDependencies/scripts/dlextract.bat +++ /dev/null @@ -1,49 +0,0 @@ -@ECHO OFF - -REM Turn on delayed variable expansion so that we can interpolate environment variables in the URLs -SETLOCAL enableDelayedExpansion - -echo Downloading %1 -echo -------------- - -cd %DL_PATH% - -FOR /F "eol=; tokens=1,2" %%f IN (%2) DO ( - set MIRROR=%%g - set MIRROR=!MIRROR:$KODI_MIRROR=%KODI_MIRROR%! - echo !MIRROR! %%f - IF NOT EXIST %%f ( - %WGET% "!MIRROR!%%f" - IF NOT EXIST %%f ( - echo Failed to download file %%f from !MIRROR! - EXIT /B 1 - ) - ) ELSE ( - echo Already have %%f - ) - - copy /b "%%f" "%TMP_PATH%" -) - -echo Extracting... -echo ------------- - -cd %TMP_PATH% - -FOR /F "eol=; tokens=1,2" %%f IN (%2) DO ( - %ZIP% x -y %%f - IF %ERRORLEVEL% NEQ 0 ( - echo Failed to unpack archive %%f - EXIT /B 2 - ) -) - -FOR /F "tokens=*" %%f IN ('dir /B "*.tar"') DO ( - %ZIP% x -y %%f - IF %ERRORLEVEL% NEQ 0 ( - echo Failed to unpack archive %%f - EXIT /B 2 - ) -) - -ENDLOCAL |