From adb751bce2efb6bf8fe22adda8a98ea5c5416d02 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 25 Feb 2019 19:37:51 +0800 Subject: [PATCH] Update plugin_compress.sh --- scripts/plugin_compress.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/plugin_compress.sh b/scripts/plugin_compress.sh index 9a7773cc8..7cdb5b2fd 100755 --- a/scripts/plugin_compress.sh +++ b/scripts/plugin_compress.sh @@ -14,7 +14,8 @@ startTime=`date +%s` PLUGIN_NAME='readme' #echo $rootPath/plugins/$PLUGIN_NAME -cd $rootPath/plugins/$PLUGIN_NAME && zip $rootPath/plugins/$PLUGIN_NAME/readme_${startTime}.zip -r ./* > /tmp/t.log + 2>&1 +mkdir -p $rootPath/scripts/tmp/$PLUGIN_NAME +cd $rootPath/plugins/$PLUGIN_NAME && zip $rootPath/scripts/tmp/$PLUGIN_NAME/readme_${startTime}.zip -r ./* > /tmp/t.log + 2>&1 endTime=`date +%s` ((outTime=($endTime-$startTime)/60))