mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fix bug (on main branch)
This commit is contained in:
parent
c4b5f64eea
commit
fe32d0f95f
@ -3584,7 +3584,11 @@ def MakeInstallerLinux():
|
|||||||
import compileall
|
import compileall
|
||||||
PYTHONV=SDK["PYTHONVERSION"]
|
PYTHONV=SDK["PYTHONVERSION"]
|
||||||
if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot")
|
if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot")
|
||||||
oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec `dpkg --print-architecture` `rpm -E '%_target_cpu'`")
|
oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec")
|
||||||
|
if (os.path.exists("/usr/bin/rpmbuild")):
|
||||||
|
oscmd("rm -rf `rpm -E '%_target_cpu'`")
|
||||||
|
if (os.path.exists("/usr/bin/dpkg-deb")):
|
||||||
|
oscmd("rm -rf `dpkg --print-architecture`")
|
||||||
oscmd("mkdir -p linuxroot/usr/bin")
|
oscmd("mkdir -p linuxroot/usr/bin")
|
||||||
oscmd("mkdir -p linuxroot/usr/include")
|
oscmd("mkdir -p linuxroot/usr/include")
|
||||||
oscmd("mkdir -p linuxroot/usr/share/panda3d")
|
oscmd("mkdir -p linuxroot/usr/share/panda3d")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user