From c62a81af0244a4dc6de233983e5d79791bf48712 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 17 Aug 2011 06:03:16 +0000 Subject: [PATCH] setBinary() --- direct/src/p3d/Packager.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/direct/src/p3d/Packager.py b/direct/src/p3d/Packager.py index d80062c865..485150bd0a 100644 --- a/direct/src/p3d/Packager.py +++ b/direct/src/p3d/Packager.py @@ -2044,6 +2044,7 @@ class Packager: # First, we need to verify that it is in fact a # universal binary. tfile = Filename.temporary('', 'p3d_') + tfile.setBinary() command = '/usr/bin/lipo -info "%s" >"%s"' % ( file.filename.toOsSpecific(), tfile.toOsSpecific()) @@ -2051,6 +2052,7 @@ class Packager: if exitStatus != 0: self.notify.warning("Not an executable file: %s" % (file.filename)) # Just add it anyway. + file.filename.setBinary() self.multifile.addSubfile(file.newName, file.filename, compressionLevel) return True @@ -2067,6 +2069,7 @@ class Packager: if arches == [self.arch]: # The file only contains the one architecture that # we want anyway. + file.filename.setBinary() self.multifile.addSubfile(file.newName, file.filename, compressionLevel) return True