mailr15688 - /1.3/scons/distrib.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on April 05, 2012 - 11:38:
Author: bugman
Date: Thu Apr  5 11:38:29 2012
New Revision: 15688

URL: http://svn.gna.org/viewcvs/relax?rev=15688&view=rev
Log:
The scons binary_dist target on Mac OS X can now overwrite a pre-existing DMG 
file.

This is just an argument to the Mac hdiutil program.


Modified:
    1.3/scons/distrib.py

Modified: 1.3/scons/distrib.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/scons/distrib.py?rev=15688&r1=15687&r2=15688&view=diff
==============================================================================
--- 1.3/scons/distrib.py (original)
+++ 1.3/scons/distrib.py Thu Apr  5 11:38:29 2012
@@ -111,7 +111,7 @@
 
             # Create the dmg image.
             print("\n\n# Creating the DMG image.\n\n")
-            cmd = 'hdiutil create -fs HFS+ -volname "relax" -srcfolder 
dist/relax.app %s' % file
+            cmd = 'hdiutil create -ov -fs HFS+ -volname "relax" -srcfolder 
dist/relax.app %s' % file
             print("%s\n" % cmd)
             pipe = Popen(cmd, shell=True, stdin=PIPE, close_fds=False)
             waitpid(pipe.pid, 0)




Related Messages


Powered by MHonArc, Updated Thu Apr 05 12:20:02 2012