Fix ta-lib install script
This commit is contained in:
parent
c08a89378d
commit
d442383a15
@ -4,7 +4,7 @@ else
|
|||||||
INSTALL_LOC=${1}
|
INSTALL_LOC=${1}
|
||||||
fi
|
fi
|
||||||
echo "Installing to ${INSTALL_LOC}"
|
echo "Installing to ${INSTALL_LOC}"
|
||||||
if [ -n "$2" ] && [ ! -f "${INSTALL_LOC}/lib/libta_lib.a" ]; then
|
if [ -n "$2" ] || [ ! -f "${INSTALL_LOC}/lib/libta_lib.a" ]; then
|
||||||
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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user