Last active
August 14, 2016 07:03
-
-
Save piouc/70d39c60f57bd04af8c88fa019025484 to your computer and use it in GitHub Desktop.
build-firefox.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
VERSION=$1 | |
$TEMPDIR | |
curl -v http://ftp.mozilla.org/pub/firefox/releases/$VERSION/source/firefox-$VERSION.source.tar.xz -O /tmp/ | |
tar -xf /tmp/firefox-$VERSION.source.tar.xz -C /tmp | |
cd /tmp/firefox-$VERSION/ | |
curl -v https://gist.githubusercontent.com/piouc/4946c5c9ae345337d107/raw/ -o .mozconfig | |
./mach build | |
cd ./obj-x86_64*/browser/installer | |
make | |
open ../../dist/firefox-*.dmg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment