Fix colored output of the diff script

This commit is contained in:
Manuel Thalmann 2024-06-20 16:07:18 +02:00
parent 89651f0c3e
commit dc7db7445d

View file

@ -1,10 +1,6 @@
#!/bin/bash
# Shows the differences between Arch's original `archiso` template named `releng` and this `archiso` directory.
pushd "${BASH_SOURCE%/*}" > /dev/null;
. ./template-path.sh;
diff -ru --no-dereference -x{.git,.gitignore,README.md,scripts,LICENSE,out,valhalla.patch,work} "$(templatePath)" .. \
| tee "valhalla.patch";
diff -ru --color --no-dereference -x{.git,.gitignore,README.md,scripts,LICENSE,out,valhalla.patch,work} "$(templatePath)" ..;
popd > /dev/null;