[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/mac/make-package
From: |
Andrew Choi |
Subject: |
[Emacs-diffs] Changes to emacs/mac/make-package |
Date: |
Mon, 28 Apr 2003 12:15:36 -0400 |
Index: emacs/mac/make-package
diff -c emacs/mac/make-package:1.18 emacs/mac/make-package:1.19
*** emacs/mac/make-package:1.18 Fri Apr 4 22:11:36 2003
--- emacs/mac/make-package Mon Apr 28 12:15:35 2003
***************
*** 385,393 ****
cat ${sizesfile}
echo "Creating Disc Image"
! ## Allocate an extra 5000 sectors (about 2.5 mg)
! ## Note a sector appears to be 512k
! sectorsAlloced=`echo 2*${compressedSize}+20|bc`
hdiutil create -ov ${builddir}/mac/EmacsRW -sectors ${sectorsAlloced}
## Need to format the disc image before mounting
mountLoc=`hdid -nomount ${builddir}/mac/EmacsRW.dmg | grep HFS | cut -f1`
--- 385,393 ----
cat ${sizesfile}
echo "Creating Disc Image"
! ## From hdiutil man page, a sector is 512k. Allocate an extra 5% for
! ## directories and partition tables.
! sectorsAlloced=`echo 2.1*${compressedSize}|bc`
hdiutil create -ov ${builddir}/mac/EmacsRW -sectors ${sectorsAlloced}
## Need to format the disc image before mounting
mountLoc=`hdid -nomount ${builddir}/mac/EmacsRW.dmg | grep HFS | cut -f1`