Skip to content
Snippets Groups Projects
Commit e2a553ae authored by Augie Fackler's avatar Augie Fackler
Browse files

osx: add support for dumping built dmg into OUTPUTDIR

parent d78e00e4
No related branches found
No related tags found
No related merge requests found
......@@ -161,8 +161,11 @@
rm -rf dist/mercurial-*.mpkg
python -m bdist_mpkg.script_bdist_mpkg setup.py --
python contrib/fixpax.py dist/mercurial-*.mpkg/Contents/Packages/*.pkg/Contents/Archive.pax.gz
mkdir -p packages/osx
N=`cd dist && echo mercurial-*.mpkg | sed 's,\.mpkg$$,,'` && hdiutil create -srcfolder dist/$$N.mpkg/ -scrub -volname "$$N" -ov packages/osx/$$N.dmg
OUTPUTDIR=$${OUTPUTDIR:=packages/osx} && \
mkdir -p $$OUTPUTDIR && \
N=`cd dist && echo mercurial-*.mpkg | sed 's,\.mpkg$$,,'` && \
hdiutil create -srcfolder dist/$$N.mpkg/ -scrub -volname "$$N" \
-ov $$OUTPUTDIR/$$N.dmg
rm -rf dist/mercurial-*.mpkg
deb:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment