chiark / gitweb /
cycle: Report the diff the other way round.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 7 Jun 2024 22:21:38 +0000 (23:21 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 7 Jun 2024 22:21:38 +0000 (23:21 +0100)
cycle

diff --git a/cycle b/cycle
index 43f561d51ecaaea0b6a0b81178090a8d1bdb5b9c..3006edcf072d2c6a579d6533d148bc4f97838666 100755 (executable)
--- 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