From 14c45586ac7c9e01cb4745185e698e593773bf08 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Wed, 28 Aug 2024 17:52:01 +0800
Subject: [PATCH] update openlibs top build.sh

---
 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