Changeset 3087 for branches/mcstas-1.x

Show
Ignore:
Timestamp:
05/24/11 14:47:34 (12 months ago)
Author:
pkwi
Message:

mkdist will likely never run a 1.x release again - but the dmg naming should be corrected anyhow... :)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/mcstas-1.x/mkdist

    r3080 r3087  
    248248    # Note: DMG file needs enough space to hold the support tools plus 
    249249    # our own code. April 2008 this is about 120 megs... 
    250     dd if=/dev/zero of=./McStas-$1.dmg bs=1M count=120 
     250    dd if=/dev/zero of=./McStas-$1-OSX.dmg bs=1M count=120 
    251251    /sbin/mkfs.hfsplus -v 'McStas' ./McStas-$1.dmg 
    252252    # Likely needs root level access: 
    253253    sudo mkdir /mnt/dmg 
    254     sudo mount -t hfsplus -o loop ./McStas-$1.dmg /mnt/dmg 
     254    sudo mount -t hfsplus -o loop ./McStas-$1-OSX.dmg /mnt/dmg 
    255255    # Copy the ./adm/OSX/DMG stuff to the mountpoint 
    256256    sudo cp -rp ./adm/OSX/DMG/Applications /mnt/dmg 
     
    263263    sudo umount /mnt/dmg 
    264264    sudo rm -rf /mnt/dmg 
    265     ls -l ./McStas-$1.dmg 
     265    ls -l ./McStas-$1-OSX.dmg 
    266266fi 
    267267