use rm -rf instead of rmdir

This commit is contained in:
rdb 2010-11-15 08:37:27 +00:00
parent 6e64d6f10b
commit d04bcf715d

View File

@ -5097,7 +5097,7 @@ def MakeInstallerLinux():
oscmd("mv "+ARCH+"/panda3d-runtime-"+VERSION+"-"+RPMRELEASE+"."+ARCH+".rpm .")
else:
oscmd("mv "+ARCH+"/panda3d-"+VERSION+"-"+RPMRELEASE+"."+ARCH+".rpm .")
oscmd("rmdir "+ARCH, True)
oscmd("rm -rf "+ARCH, True)
if (os.path.exists("/usr/bin/dpkg-deb")):
oscmd("dpkg --print-architecture > "+GetOutputDir()+"/tmp/architecture.txt")