File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ CMAKE_BUILD_TYPE=Release
77CMAKE_CONFIGURATION_TYPES=Release
88
99# Download TA-Lib C Library
10- curl -L -o talib-c .zip https://github.com/TA-Lib/ta-lib/archive/refs/tags/v${TALIB_C_VER} .zip
10+ curl -L -o talib-${TALIB_C_VER} .zip https://github.com/TA-Lib/ta-lib/archive/refs/tags/v${TALIB_C_VER} .zip
1111if [ $? -ne 0 ]; then
1212 echo " Failed to download TA-Lib C library"
1313 exit 1
1414fi
1515
1616# Unzip TA-Lib C
17- unzip -q talib-c .zip
17+ unzip -q talib-${TALIB_C_VER} .zip
1818if [ $? -ne 0 ]; then
1919 echo " Failed to extract TA-Lib C library"
2020 exit 1
Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ CMAKE_BUILD_TYPE=Release
77CMAKE_CONFIGURATION_TYPES=Release
88
99# Download TA-Lib C Library
10- curl -L -o talib-c .zip https://github.com/TA-Lib/ta-lib/archive/refs/tags/v${TALIB_C_VER} .zip
10+ curl -L -o talib-${TALIB_C_VER} .zip https://github.com/TA-Lib/ta-lib/archive/refs/tags/v${TALIB_C_VER} .zip
1111if [ $? -ne 0 ]; then
1212 echo " Failed to download TA-Lib C library"
1313 exit 1
1414fi
1515
1616# Unzip TA-Lib C
17- unzip -q talib-c .zip
17+ unzip -q talib-${TALIB_C_VER} .zip
1818if [ $? -ne 0 ]; then
1919 echo " Failed to extract TA-Lib C library"
2020 exit 1
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ set CMAKE_GENERATOR=NMake Makefiles
88set CMAKE_BUILD_TYPE = Release
99set CMAKE_CONFIGURATION_TYPES = Release
1010
11- curl -L -o talib-c .zip https://github.com/TA-Lib/ta-lib/archive/refs/tags/v%TALIB_C_VER% .zip
11+ curl -L -o talib-%TALIB_C_VER% .zip https://github.com/TA-Lib/ta-lib/archive/refs/tags/v%TALIB_C_VER% .zip
1212if errorlevel 1 exit /B 1
1313
14- tar -xzvf talib-c .zip
14+ tar -xzvf talib-%TALIB_C_VER% .zip
1515if errorlevel 1 exit /B 1
1616
1717:: git apply --verbose --binary talib.diff
You can’t perform that action at this time.
0 commit comments