mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
Fix makepanda --clean option when built dir doesn't exist yet
This commit is contained in:
parent
e6b245c56d
commit
37509e7c93
@ -322,7 +322,7 @@ def parseopts(args):
|
||||
if RUNTIME or not is_win7:
|
||||
PkgDisable("TOUCHINPUT")
|
||||
|
||||
if clean_build:
|
||||
if clean_build and os.path.isdir(GetOutputDir()):
|
||||
print("Deleting %s" % (GetOutputDir()))
|
||||
shutil.rmtree(GetOutputDir())
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user