mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
We can't rely on hdiutil's return value
This commit is contained in:
parent
c97791c734
commit
255f09f978
@ -4864,9 +4864,11 @@ function have16installed() {
|
||||
print >>dist, '</installer-script>'
|
||||
dist.close()
|
||||
|
||||
oscmd('hdiutil create Panda3D-rw.dmg -srcfolder dstroot/Panda3D')
|
||||
oscmd('hdiutil convert Panda3D-rw.dmg -format UDBZ -o Panda3D-%s.dmg' % VERSION)
|
||||
oscmd('hdiutil create Panda3D-rw.dmg -srcfolder dstroot/Panda3D', True)
|
||||
oscmd('hdiutil convert Panda3D-rw.dmg -format UDBZ -o Panda3D-%s.dmg' % VERSION, True)
|
||||
oscmd('rm -f Panda3D-rw.dmg')
|
||||
if os.path.isfile("Panda3D-%s.dmg" % VERSION):
|
||||
exit("Failed to create installer!")
|
||||
|
||||
if (INSTALLER != 0):
|
||||
ProgressOutput(100.0, "Building installer")
|
||||
|
Loading…
x
Reference in New Issue
Block a user