#!/bin/sh echo "Removing old patches" rm ./patches/*.patch cd ./anubis || exit git format-patch origin/HEAD --output-directory ../patches