From c46b023d7a165d4b1a32f2b6fdc00d66334597f1 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期六, 11 一月 2020 16:59:55 +0800 Subject: [PATCH] debug --- modulemake.sh | 21 +++++++++++++++++---- 1 files changed, 17 insertions(+), 4 deletions(-) diff --git a/modulemake.sh b/modulemake.sh index b5138f9..354a29b 100755 --- a/modulemake.sh +++ b/modulemake.sh @@ -35,18 +35,31 @@ continue fi + deps_dir=$runtime_dir"/"$value + if [ ! -d $deps_dir ];then + mkdir -p $deps_dir + fi + # move to runtime_dir - mv -f lib$value.so $runtime_dir + rm -fr $deps_dir/* + mv -f lib$value.so $deps_dir # move sdk to runtime_dir if [ -d `pwd`/sdk/lib ]; then - cp -fr `pwd`/sdk/lib/* $runtime_dir + cp -fr `pwd`/sdk/lib/* $deps_dir fi if [ -d `pwd`/thirdparty/lib ]; then - cp -fr `pwd`/thirdparty/lib/* $runtime_dir + cp -fr `pwd`/thirdparty/lib/* $deps_dir fi - echo "~~~WATCH lib$value.so In $runtime_dir IF CORRECT" +# ~~~~~~patch humantrack reid + if [ -d `pwd`/goreid/sdk/lib ]; then + cp -fr `pwd`/goreid/sdk/lib/* $deps_dir + cp -fr `pwd`/goreid/opencv-4.0.1/lib/* $deps_dir + fi +# ~~~~~~patch + + echo "~~~WATCH lib$value.so In $deps_dir IF CORRECT" cd $src done -- Gitblit v1.8.0