Display unified diff

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-04-02 15:55:28 +02:00
parent 1592df658e
commit c25b804a83
Signed by: luzifer
SSH key fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E

View file

@ -33,7 +33,7 @@ for ver in "${versions[@]}"; do
echo "${ver}" >>tools.txt.new
done
diff tools.txt tools.txt.new && {
diff -u tools.txt tools.txt.new && {
echo "Up to date"
rm tools.txt.new
exit 0