From 94a88b93081043439b20db4adf33721b1e0d6f07 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期五, 20 十二月 2019 16:46:53 +0800
Subject: [PATCH] support hotupdate

---
 modulemake.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modulemake.sh b/modulemake.sh
index 58e0470..b5138f9 100755
--- a/modulemake.sh
+++ b/modulemake.sh
@@ -9,12 +9,12 @@
 cur_dir=`pwd`
 src=$cur_dir"/libgowrapper"
 
-runtime_dir=$cur_dir"/runtime"
+runtime_dir=$cur_dir"/libs"
 
 # runtime_dir not exist, then create
 if [ ! -d $runtime_dir ];then
     mkdir $runtime_dir 
-    echo "~~~CREATE RUNTIME LIBRARY DIRECTORY"  
+    echo "~~~CREATE RUNTIME LIBRARY DIRECTORY $runtime_dir"  
 fi
 
 cd $src
@@ -36,7 +36,7 @@
     fi
 
 # move to runtime_dir
-    cp -fr lib$value.so $runtime_dir
+    mv -f lib$value.so $runtime_dir
 # move sdk to runtime_dir
     if [ -d `pwd`/sdk/lib ]; then
         cp -fr `pwd`/sdk/lib/* $runtime_dir

--
Gitblit v1.8.0