|
@@ -166,13 +166,13 @@ function do_zip()
|
|
|
{
|
|
{
|
|
|
echo do_zip ...
|
|
echo do_zip ...
|
|
|
|
|
|
|
|
- tim=`date +%Y%m%d_%H%M%S`
|
|
|
|
|
- zname="upgrade_"$tim"_$name"
|
|
|
|
|
- echo ---$tim---$zname
|
|
|
|
|
|
|
+ ztm=`date +%Y%m%d_%H%M%S`
|
|
|
|
|
+ zname="upgrade_"$ztm"_$name"
|
|
|
|
|
+ zdir=$curdir/output/push
|
|
|
|
|
+ files="push.bat pdutar tools"
|
|
|
|
|
|
|
|
- files="$curdir/output/push/push.bat $curdir/output/push/pdutar $curdir/output/push/tools"
|
|
|
|
|
-
|
|
|
|
|
- zip -q $curdir/output/$zname.zip $files
|
|
|
|
|
|
|
+ cd $zdir; zip -q $zname.zip $files
|
|
|
|
|
+ mv $zname.zip $curdir/output/
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
do_copy
|
|
do_copy
|