mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
Make buildpkg work out of tree
Don't reference files in the local directory, so that buildpkg.sh can be invoked from elsewhere Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/202 Tested-by: Derrick Brashear <shadow@dementia.org> Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
1ea9c02f8e
commit
f914b42d26
@ -249,10 +249,10 @@ if [ $secondpass = yes ]; then
|
||||
mkdir $CURDIR/dmg
|
||||
mv $CURDIR/OpenAFS.pkg $CURDIR/dmg
|
||||
rm -rf $CURDIR/OpenAFS-@VERSION@-$RELNAME.dmg
|
||||
cp Uninstall $CURDIR/dmg/Uninstall.command
|
||||
cp DS_Store $CURDIR/dmg/.DS_Store
|
||||
cp $RESSRC/Uninstall $CURDIR/dmg/Uninstall.command
|
||||
cp $RESSRC/DS_Store $CURDIR/dmg/.DS_Store
|
||||
mkdir $CURDIR/dmg/.background
|
||||
cp afslogo.jpg $CURDIR/dmg/.background
|
||||
cp $RESSRC/afslogo.jpg $CURDIR/dmg/.background
|
||||
# hdiutil create -srcfolder $CURDIR/dmg -volname OpenAFS -anyowners $CURDIR/OpenAFS.dmg
|
||||
hdiutil makehybrid -hfs -hfs-volume-name OpenAFS -hfs-openfolder $CURDIR/dmg $CURDIR/dmg -o $CURDIR/TMP.dmg
|
||||
hdiutil convert -format UDZO $CURDIR/TMP.dmg -o $CURDIR/OpenAFS-@VERSION@-$RELNAME.dmg
|
||||
|
Loading…
x
Reference in New Issue
Block a user