mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 11:39:09 +02:00
dmg: fixed typo
git-svn-id: trunk@16460 -
This commit is contained in:
parent
e04e4a9fcb
commit
3ee0b68fa1
@ -147,15 +147,15 @@ cd $ROOTDIR/usr/bin
|
|||||||
ln -s /Developer/lazarus/lazbuild lazbuild
|
ln -s /Developer/lazarus/lazbuild lazbuild
|
||||||
find $BUILDDIR -name '.svn' -exec rm -rf {} \; || true
|
find $BUILDDIR -name '.svn' -exec rm -rf {} \; || true
|
||||||
find $BUILDDIR -name '.DS_Store' -exec rm -rf {} \; || true
|
find $BUILDDIR -name '.DS_Store' -exec rm -rf {} \; || true
|
||||||
mkdir -p $ROOTDIR/Applications
|
mkdir -p $ROOTDIR/Applications/Lazarus.app
|
||||||
ln -s /Developer/lazarus/lazarus.app $ROOTDIR/Applications/Lazarus.app
|
ln -s /Developer/lazarus/lazarus.app/Contents $ROOTDIR/Applications/Lazarus.app/Contents
|
||||||
cp $TEMPLATEDIR/uninstall.sh $ROOTDIR/Developer/lazarus/
|
cp $TEMPLATEDIR/uninstall.sh $ROOTDIR/Developer/lazarus/
|
||||||
|
|
||||||
# fix permissions
|
# fix permissions
|
||||||
# everyone can read, group can write
|
# everyone can read, group can write
|
||||||
find $BUILDDIR -exec chown a+r,g+w
|
find $BUILDDIR -exec chmod a+r,g+w {} \;
|
||||||
# what is executable should be executable by everyone
|
# what is executable should be executable by everyone
|
||||||
find $BUILDDIR -perm +o+x -exec chown a+x
|
find $BUILDDIR -perm +o+x -exec chmod a+x {} \;
|
||||||
# everyone can access directories
|
# everyone can access directories
|
||||||
find $BUILDDIR -type d -exec chmod a+x {} \;
|
find $BUILDDIR -type d -exec chmod a+x {} \;
|
||||||
|
|
||||||
@ -195,11 +195,11 @@ $FREEZE -v $PACKPROJ
|
|||||||
DMGFILE=~/tmp/lazarus-$LazVersion$LazVersionPostfix-$DATESTAMP-$FPCARCH-macosx.dmg
|
DMGFILE=~/tmp/lazarus-$LazVersion$LazVersionPostfix-$DATESTAMP-$FPCARCH-macosx.dmg
|
||||||
rm -rf $DMGFILE
|
rm -rf $DMGFILE
|
||||||
|
|
||||||
$HDIUTIL create -anyowners -volname lazarus-$LAZVERSION$LazVersionPostfix \
|
$HDIUTIL create -anyowners -volname lazarus-$LazVersion$LazVersionPostfix \
|
||||||
-imagekey zlib-level=9 -format UDZO -srcfolder $BUILDDIR/build $DMGFILE
|
-imagekey zlib-level=9 -format UDZO -srcfolder $BUILDDIR/build $DMGFILE
|
||||||
|
|
||||||
set +x
|
set +x
|
||||||
echo The new dmg file is $DMGFile
|
echo The new dmg file is $DMGFILE
|
||||||
|
|
||||||
#end.
|
#end.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user