#!/bin/env fish # Shows the differences between Arch's original `archiso` template named `releng` and this `archiso` directory. begin set -l contextRoot (mktemp -d) set -l dir (status dirname) set -l projectDir "$dir/.." begin . "$dir/template-path.fish" rm -rf "$contextRoot" and cp -r "$(templatePath)" "$contextRoot" and chmod -R 755 "$contextRoot" and git init "$contextRoot" and git -C "$contextRoot" add . and begin git -C "$projectDir" ls-files git -C "$projectDir" ls-files --exclude-standard --others end | \ rsync -r --include-from=/dev/stdin --exclude={.gitignore,README.md,scripts,LICENSE,valhalla.patch} "$dir/.." "$contextRoot" end 2>&1 > /dev/null; and git -C "$contextRoot" diff end