Changeset 19133

Show
Ignore:
Timestamp:
20.04.2009 15:58:45 (11 years ago)
Author:
oranfry
Message:

force overwrite of existing dmg file if it exists

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • release-kits/mark2/ant-scripts/wrap.xml

    r18500 r19133  
    2727        <!-- create disk image --> 
    2828        <property name="dmg.name" value="Greenstone-${version}-MacOS-${processor}"/> 
    29         <exec dir="${basedir}/products" executable="hdiutil"><arg line="create -size ${dmg.size}k -fs HFS+ -volname ${dmg.name} ${dmg.name}.dmg"/></exec> 
     29        <exec dir="${basedir}/products" executable="hdiutil"><arg line="create -ov -size ${dmg.size}k -fs HFS+ -volname ${dmg.name} ${dmg.name}.dmg"/></exec> 
    3030        <!-- mount it --> 
    3131        <exec executable="hdiutil" dir="${basedir}/products"><arg line="attach ${dmg.name}.dmg"/></exec>