mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
osxdist.py: only rmtree if path exists.
This commit is contained in:
parent
b86c3b7743
commit
98cacbc28f
@ -329,7 +329,8 @@ def package_server():
|
||||
os.system('cd scripts && sh mkini.sh')
|
||||
|
||||
destdir = os.path.join('release', name)
|
||||
shutil.rmtree(destdir)
|
||||
if os.path.exists(destdir):
|
||||
shutil.rmtree(destdir)
|
||||
os.mkdir(destdir)
|
||||
|
||||
shutil.copy('installer/gpl.txt', os.path.join(destdir, 'LICENSE'))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user