cycle: A script to automate updates.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 21 Mar 2022 15:56:26 +0000 (15:56 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 21 Mar 2022 15:56:26 +0000 (15:56 +0000)
cycle [new file with mode: 0755]

diff --git a/cycle b/cycle
new file mode 100755 (executable)
index 0000000..6f4a177
--- /dev/null
+++ b/cycle
@@ -0,0 +1,6 @@
+#! /bin/sh -ex
+
+./update PATHS
+./report >PATHS.new
+if cmp -s PATHS.new PATHS; then rm PATHS.new
+else mv PATHS.new PATHS; fi