#!/bin/bash set -e # Clean repo cd ./mozilla-unified git reset --hard git clean -fd # Prepare assets cp ../assets/mozconfig mozconfig # Prepare patches git apply ../patches/*.patch # Build the thing ./mach build