Showing
1 changed file
with
3 additions
and
3 deletions
@@ -14,10 +14,10 @@ PATH = "~/.tmp/auto_deploy" | @@ -14,10 +14,10 @@ PATH = "~/.tmp/auto_deploy" | ||
14 | 14 | ||
15 | # clone deploy project to local | 15 | # clone deploy project to local |
16 | if os.path.isdir(PATH): | 16 | if os.path.isdir(PATH): |
17 | - call("rm -rf %s" %PATH, shell=True) | 17 | + call("rm -rf %s" % PATH , shell=True) |
18 | else: | 18 | else: |
19 | - call("mkdir -p %s" %PATH) | ||
20 | -call("git clone --recursive git@git.yoho.cn:yohoops/auto_deploy.git %s" %PATH, shell=True) | 19 | + call("mkdir -p %s" % PATH, shell=True) |
20 | +call("git clone --recursive git@git.yoho.cn:yohoops/auto_deploy.git %s" % PATH, shell=True) | ||
21 | 21 | ||
22 | 22 | ||
23 | 23 |
-
Please register or login to post a comment