瀏覽代碼

use rm -rf instead of rmdir

rdb 15 年之前
父節點
當前提交
d04bcf715d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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")