summaryrefslogtreecommitdiff
path: root/buetow.org.sh
diff options
context:
space:
mode:
authorPaul Buetow <git@mx.buetow.org>2021-05-03 10:06:58 +0100
committerPaul Buetow <git@mx.buetow.org>2021-05-21 05:11:04 +0100
commitdb59b5437f289b58c6319aaf216bafe9af84a5c3 (patch)
treeb8e3348d203d634bd4a3b25c818f365932ca19a2 /buetow.org.sh
parent68cd6e6b075b1e950d7ff44a124c3ec21a5a5f26 (diff)
fix
Diffstat (limited to 'buetow.org.sh')
-rwxr-xr-xbuetow.org.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/buetow.org.sh b/buetow.org.sh
index b18620ab..d8ead249 100755
--- a/buetow.org.sh
+++ b/buetow.org.sh
@@ -93,7 +93,7 @@ ATOMENTRY
ATOMFOOTER
# Delete the 3rd line of the atom feeds (global feed update timestamp)
- if diff -u <(sed 3d "$atom_file.tmp") <(sed 3d "$atom_file"); then
+ if ! diff -u <(sed 3d "$atom_file.tmp") <(sed 3d "$atom_file"); then
echo "Feed got something new!"
mv "$atom_file.tmp" "$atom_file"
git add "$atom_file"