mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
use rm -rf instead of rmdir
This commit is contained in:
parent
6e64d6f10b
commit
d04bcf715d
@ -5097,7 +5097,7 @@ def MakeInstallerLinux():
|
|||||||
oscmd("mv "+ARCH+"/panda3d-runtime-"+VERSION+"-"+RPMRELEASE+"."+ARCH+".rpm .")
|
oscmd("mv "+ARCH+"/panda3d-runtime-"+VERSION+"-"+RPMRELEASE+"."+ARCH+".rpm .")
|
||||||
else:
|
else:
|
||||||
oscmd("mv "+ARCH+"/panda3d-"+VERSION+"-"+RPMRELEASE+"."+ARCH+".rpm .")
|
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")):
|
if (os.path.exists("/usr/bin/dpkg-deb")):
|
||||||
oscmd("dpkg --print-architecture > "+GetOutputDir()+"/tmp/architecture.txt")
|
oscmd("dpkg --print-architecture > "+GetOutputDir()+"/tmp/architecture.txt")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user