From: Mark Wooding Date: Mon, 21 Mar 2022 15:56:26 +0000 (+0000) Subject: cycle: A script to automate updates. X-Git-Url: https://git.distorted.org.uk/~mdw/dvddb/commitdiff_plain/f9ee686386f1c76da6b6d9595e821b3fe9af1b88 cycle: A script to automate updates. --- diff --git a/cycle b/cycle new file mode 100755 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