This commit is contained in:
chendelin1982 2022-02-14 15:12:00 +08:00
parent 81fc74b984
commit d305302981

View file

@ -22,11 +22,7 @@ mylists=ReadLists("add")
# 批量处理创建项目文件夹issue
for mylist in mylists:
print("处理 "+mylist+" ...\n")
path=os.getcwd()+"/"+mylist+"/README.md"
print(path)
print(os.path.exists(path))
if not os.path.exists(path):
os.system("git clone --depth https://github.com/Websoft9/ansible-template "+ mylist)
os.system("git clone --depth=1 https://github.com/Websoft9/ansible-template "+ mylist)
os.system("cd "+ mylist +" && rm -rf .git .github docs")
os.system("echo '' > lists")