diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index e149519bb5..28dbc1bbfe 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -533,6 +533,7 @@ def ConditionalWriteFile(dest,desiredcontents): WriteFile(dest,desiredcontents) def DeleteCVS(dir): + if dir == ".": dir = "." for entry in os.listdir(dir): if (entry != ".") and (entry != ".."): subdir = dir + "/" + entry