Menu

[r27]: / BuildScript / get-swig-source.cmd  Maximize  Restore  History

Download this file

24 lines (18 with data), 859 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@IF DEFINED NOECHO echo off
echo ====== Get swig Source code ======
echo ====== Get swig Source code ====== > %LOG_DIR%\get-swig-source.log
%WGET% -N --directory-prefix=%DLDIR% http://downloads.sourceforge.net/project/swig/swigwin/swigwin-%SWIGVER%/swigwin-%SWIGVER%.zip >> %LOG_DIR%\get-swig-source.log 2>>&1
IF ERRORLEVEL 1 GOTO CO_FAIL
echo ====== Extract swig ======
echo ====== Extract swig ====== >> %LOG_DIR%\get-swig-source.log
%ZZIP% x -y %DLDIR%\swigwin-%SWIGVER%.zip -o%ROOT% >> %LOG_DIR%\get-swig-source.log 2>>&1
IF ERRORLEVEL 1 GOTO EXTRACT_FAIL
exit /B 0
:CO_FAIL
echo ****** swig Checkout failed ****** >> %LOG_DIR%\get-swig-source.log
type %LOG_DIR%\get-swig-source.log
exit /B 1
:EXTRACT_FAIL
echo ****** swig Extraction failed ****** >> %LOG_DIR%\get-swig-source.log
type %LOG_DIR%\get-swig-source.log
exit /B 1
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.