mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
makepackage: fix None installdir when not passing in any on macOS
This commit is contained in:
parent
c28ab63481
commit
b7017669a1
@ -473,9 +473,12 @@ def MakeInstallerLinux(version, debversion=None, rpmrelease=1, runtime=False,
|
||||
exit("To build an installer, either rpmbuild or dpkg-deb must be present on your system!")
|
||||
|
||||
|
||||
def MakeInstallerOSX(version, runtime=False, python_versions=[], installdir="/Library/Developer/Panda3D", **kwargs):
|
||||
def MakeInstallerOSX(version, runtime=False, python_versions=[], installdir=None, **kwargs):
|
||||
outputdir = GetOutputDir()
|
||||
|
||||
if installdir is None:
|
||||
installdir = "/Library/Developer/Panda3D"
|
||||
|
||||
if runtime:
|
||||
# Invoke the make_installer script.
|
||||
AddToPathEnv("DYLD_LIBRARY_PATH", outputdir + "/plugins")
|
||||
|
Loading…
x
Reference in New Issue
Block a user