From 790726db0c40bc0064807971862d3f638f93e468 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 11 Jan 2019 15:13:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=8D=E5=90=8C=E6=B8=A0?= =?UTF-8?q?=E9=81=93=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/publish_h5.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/publish_h5.sh b/scripts/publish_h5.sh index e856bf4..eb28b25 100644 --- a/scripts/publish_h5.sh +++ b/scripts/publish_h5.sh @@ -2,6 +2,6 @@ rm /root/game1008h5.zip cd /root/game1008h5 zip -r /root/game1008h5.zip * cd /root -scp game1008h5.zip root@login-test.kingsome.cn:/var/data/ -ssh root@login-test.kingsome.cn "cd /var/data && unzip -o -d game1008h5 game1008h5.zip" +scp game1008h5.zip root@login-test.kingsome.cn:/var/data/game1008h5 +ssh root@login-test.kingsome.cn "cd /var/data/game1008h5 && unzip -o -d $1 game1008h5.zip" echo 'publish ok'