|
|
@@ -15,7 +15,7 @@
|
|
|
#PRJ="PRJ_GOWONE_AC_I3_O3"
|
|
|
#PRJ="PRJ_TEST"
|
|
|
|
|
|
-PRJS="PRJ_ANDERSON"
|
|
|
+PRJS="PRJ_ITK_AC_I1_O1 PRJ_ITK_AC_I3_O1"
|
|
|
|
|
|
fulldir=$(realpath $0)
|
|
|
curdir=$(dirname $fulldir)
|
|
|
@@ -48,14 +48,14 @@ function do_copy()
|
|
|
cp -f $custdir/db/ac_i1_o1_chinese.db $curdir/output/t113i/root/run/app/pdu_dat.db
|
|
|
cp -f $custdir/logo/logo_neuter.png $curdir/output/t113i/root/run/app/image/logo.png
|
|
|
elif [ "$PRJ" = "PRJ_ITK_AC_I1_O1" ]; then
|
|
|
- name=ac_in1_out1_itk
|
|
|
+ name=ac_in1_out1_russia_itk
|
|
|
cp -rf $custdir/web/general $curdir/output/t113i/root/run/web
|
|
|
cp -rf $custdir/cfg/cfg_russia_itk.h $curdir/pro/config/cfg.h
|
|
|
|
|
|
cp -f $custdir/db/ac_i1_o1_russian.db $curdir/output/t113i/root/run/app/pdu_dat.db
|
|
|
cp -f $custdir/logo/logo_itk.png $curdir/output/t113i/root/run/app/image/logo.png
|
|
|
elif [ "$PRJ" = "PRJ_ITK_AC_I3_O1" ]; then
|
|
|
- name=ac_in3_out1_itk
|
|
|
+ name=ac_in3_out1_russia_itk
|
|
|
cp -rf $custdir/web/general $curdir/output/t113i/root/run/web
|
|
|
cp -rf $custdir/cfg/cfg_russia_itk.h $curdir/pro/config/cfg.h
|
|
|
|
|
|
@@ -168,7 +168,7 @@ function do_zip()
|
|
|
ztm=`date +%Y%m%d_%H%M%S`
|
|
|
zname="upgrade_"$ztm"_$name"
|
|
|
zdir=$curdir/output/push
|
|
|
- files="push.bat pdutar tools"
|
|
|
+ files="push.bat pdutar tools/*"
|
|
|
|
|
|
cd $zdir; zip -q $zname.zip $files
|
|
|
mv $zname.zip $curdir/output/
|