cd build_helpers added before extracting Tar
This commit is contained in:
parent
dcdd7d7436
commit
2c31fd662c
2
setup.sh
2
setup.sh
@ -45,6 +45,7 @@ function updateenv () {
|
|||||||
|
|
||||||
# Install tab lib
|
# Install tab lib
|
||||||
function install_talib () {
|
function install_talib () {
|
||||||
|
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
|
||||||
sed -i.bak "s|0.00000001|0.000000000000000001 |g" src/ta_func/ta_utility.h
|
sed -i.bak "s|0.00000001|0.000000000000000001 |g" src/ta_func/ta_utility.h
|
||||||
@ -52,6 +53,7 @@ function install_talib () {
|
|||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
cd .. && rm -rf ./ta-lib/
|
cd .. && rm -rf ./ta-lib/
|
||||||
|
cd ..
|
||||||
}
|
}
|
||||||
|
|
||||||
# Install bot MacOS
|
# Install bot MacOS
|
||||||
|
Loading…
Reference in New Issue
Block a user