Skip to content

Instantly share code, notes, and snippets.

@piouc
Last active August 14, 2016 07:03
Show Gist options
  • Save piouc/70d39c60f57bd04af8c88fa019025484 to your computer and use it in GitHub Desktop.
Save piouc/70d39c60f57bd04af8c88fa019025484 to your computer and use it in GitHub Desktop.
build-firefox.sh
#!/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