Showing
1 changed file
with
2 additions
and
2 deletions
@@ -15,8 +15,8 @@ PATH = "~/.tmp/auto_deploy" | @@ -15,8 +15,8 @@ PATH = "~/.tmp/auto_deploy" | ||
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: | ||
19 | - call("mkdir -p %s" % PATH, shell=True) | 18 | + |
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) | 20 | call("git clone --recursive git@git.yoho.cn:yohoops/auto_deploy.git %s" % PATH, shell=True) |
21 | 21 | ||
22 | 22 |
-
Please register or login to post a comment