Changeset 99167


Ignore:
Timestamp:
Oct 29, 2012, 12:02:17 AM (12 years ago)
Author:
jmr@…
Message:

fix (m)pkg

Location:
trunk/base/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/package1.0/portdmg.tcl

    r79593 r99167  
    8484        set subdev 2
    8585    }
    86    
     86
     87    if {![file isdirectory $pkgpath]} {
     88        file mkdir ${package.destpath}/${imagename}
     89        file copy $pkgpath ${package.destpath}/${imagename}
     90        set pkgpath ${package.destpath}/${imagename}
     91    }
     92
    8793    set hdiutil [findBinary hdiutil $portutil::autoconf::hdiutil_path]
    8894    if {[system "$hdiutil create -quiet -fs HFS+ -volname ${imagename} -srcfolder ${pkgpath} ${tmp_image}"] != ""} {
  • trunk/base/src/package1.0/portmdmg.tcl

    r79593 r99167  
    8585    }
    8686
     87    if {![file isdirectory $mpkgpath]} {
     88        file mkdir ${package.destpath}/${imagename}
     89        file copy $mpkgpath ${package.destpath}/${imagename}
     90        set mpkgpath ${package.destpath}/${imagename}
     91    }
     92
    8793    set hdiutil [findBinary hdiutil $portutil::autoconf::hdiutil_path]
    8894    if {[system "$hdiutil create -quiet -fs HFS+ -volname ${imagename} -srcfolder ${mpkgpath} ${tmp_image}"] != ""} {
  • trunk/base/src/port1.0/portsandbox.tcl

    r99028 r99167  
    4848        activate -
    4949        deactivate -
     50        dmg -
     51        mdmg -
    5052        load -
    5153        unload {
Note: See TracChangeset for help on using the changeset viewer.