From f88de8e889704eed0dd8d77a3268e6be9c62547f Mon Sep 17 00:00:00 2001 From: channings Date: Wed, 3 Jun 2020 15:19:40 +0800 Subject: [PATCH] fix build bug (#859) --- deploy/cpp/scripts/bootstrap.sh | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/deploy/cpp/scripts/bootstrap.sh b/deploy/cpp/scripts/bootstrap.sh index 07d448bf4..65e30cbd8 100644 --- a/deploy/cpp/scripts/bootstrap.sh +++ b/deploy/cpp/scripts/bootstrap.sh @@ -1,18 +1,9 @@ # download pre-compiled opencv lib -#OPENCV_URL=https://bj.bcebos.com/paddleseg/deploy/opencv3.4.6gcc4.8ffmpeg.tar.gz2 -#if [ ! -d "./deps/opencv3.4.6gcc4.8ffmpeg/" ]; then -# mkdir -p deps -# cd deps -# wget -c ${OPENCV_URL} -# tar xvfj opencv3.4.6gcc4.8ffmpeg.tar.gz2 -# cd .. -#fi -OPENCV_URL=https://paddleseg.bj.bcebos.com/deploy/docker/opencv3gcc4.8.tar.bz2 -if [ ! -d "./deps/opencv3gcc4.8" ]; then +OPENCV_URL=https://bj.bcebos.com/paddleseg/deploy/opencv3.4.6gcc4.8ffmpeg.tar.gz2 +if [ ! -d "./deps/opencv3.4.6gcc4.8ffmpeg/" ]; then mkdir -p deps cd deps wget -c ${OPENCV_URL} - tar xvfj opencv3gcc4.8.tar.bz2 - rm -rf opencv3gcc4.8.tar.bz2 + tar xvfj opencv3.4.6gcc4.8ffmpeg.tar.gz2 cd .. fi -- GitLab