]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
macos-build-dmg-20051021
authorDerrick Brashear <shadow@dementia.org>
Sat, 22 Oct 2005 07:43:09 +0000 (07:43 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 22 Oct 2005 07:43:09 +0000 (07:43 +0000)
probably this script should take an argument which is the version string to use, and use it in the volume name and dmg name

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

probably this script should take an argument which is the version string to use,
 and use it in the volume name and dmg name

src/packaging/MacOS/buildpkg.sh

index f2774bfea7af1f7925bde7526c7cdb003b734655..6c50567d78c6bd93e4c5cdc94c50eb276c54f84d 100644 (file)
@@ -168,6 +168,11 @@ else
 fi
 
 rm -rf pkgroot pkgres
+mkdir dmg
+mv OpenAFS.pkg dmg
+rm -rf OpenAFS.dmg
+hdiutil create -srcfolder dmg -volname OpenAFS -anyowners OpenAFS.dmg
+rm -rf dmg
 # Unfortunately, sudo sets $USER to root, so I can't chown the 
 #.pkg dir back to myself
 #chown -R $USER OpenAFS.pkg