Explorar o código

use rm -rf instead of rmdir

rdb %!s(int64=15) %!d(string=hai) anos
pai
achega
d04bcf715d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      makepanda/makepanda.py

+ 1 - 1
makepanda/makepanda.py

@@ -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")