mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update plugin_compress.sh
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user