From: Mark Wooding Date: Fri, 7 Jun 2024 22:21:38 +0000 (+0100) Subject: cycle: Report the diff the other way round. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/dvddb/commitdiff_plain/092a23cf27bee94b97a872e5532eb05444f4b258?ds=inline cycle: Report the diff the other way round. --- diff --git a/cycle b/cycle index 43f561d..3006edc 100755 --- a/cycle +++ b/cycle @@ -2,5 +2,5 @@ ./update PATHS ./report >PATHS.new -if diff -u PATHS.new PATHS; then rm PATHS.new +if diff -u PATHS PATHS.new; then rm PATHS.new else mv PATHS.new PATHS; fi