Avoid installing ta-lib multiple times
This commit is contained in:
parent
9e5e485d0a
commit
337ebdeccb
5
setup.sh
5
setup.sh
@ -50,6 +50,11 @@ function updateenv () {
|
|||||||
|
|
||||||
# Install tab lib
|
# Install tab lib
|
||||||
function install_talib () {
|
function install_talib () {
|
||||||
|
if [ -f /usr/local/lib/libta_lib.a ]; then
|
||||||
|
echo "ta-lib already installed, skipping"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
cd build_helpers
|
cd build_helpers
|
||||||
tar zxvf ta-lib-0.4.0-src.tar.gz
|
tar zxvf ta-lib-0.4.0-src.tar.gz
|
||||||
cd ta-lib
|
cd ta-lib
|
||||||
|
Loading…
Reference in New Issue
Block a user