From da239f0907b7df35113919d383fa46fddea39a23 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 17 Dec 2021 17:12:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=BC=80=E5=8F=91=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hb_server/utils/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hb_server/utils/view.py b/hb_server/utils/view.py index 83974a5..8c20646 100644 --- a/hb_server/utils/view.py +++ b/hb_server/utils/view.py @@ -65,7 +65,7 @@ class UpdateDevelop(APIView): ret = os.popen('git pull https://caoqianming%40foxmail.com:9093qqww@e.coding.net/ctcdevteam/hberp/hberp.git develop') # 奇怪的处理 os.chdir('/home/hberp/hb_server/vuedist') - os.popen('cp index.html indexbak & rm -rf index.html & rename indexbak index.html') + os.popen('cp index.html indexbak & rm -rf index.html & mv indexbak index.html') # 打包前端 # os.chdir('/home/hberp/hb_client') # os.system('npm run build:prod')