From e8d34d11799fc79c7c53bdcd40f9b4ee7be7a2c5 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Wed, 25 Sep 2024 17:42:22 +0800 Subject: [PATCH] Merge branch 'master' of ssh://weike-iot.com:2280/framwork --- openlibs/build.sh | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/openlibs/build.sh b/openlibs/build.sh index efa42aa..34c8de6 100755 --- a/openlibs/build.sh +++ b/openlibs/build.sh @@ -3,6 +3,8 @@ # this project absolute path PRJ_PATH=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd) +cd $PRJ_PATH + #+-------------------------+ #| Shell script functions | #+-------------------------+ @@ -33,8 +35,6 @@ function do_clean() { - rm -rf install - for dir in `ls` do if [ -f $dir/build*.sh ] ; then @@ -43,6 +43,8 @@ cd - fi done + + rm -rf install } if [[ $# == 1 && $1 == -c ]] ;then -- Gitblit v1.9.1