Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-07-07 14:40:36 +0200
committerErich Eckner <git@eckner.net>2017-07-07 14:40:36 +0200
commit34fce4bc2864aca33a5c5f86bf4b790ce79ed087 (patch)
tree9c6ba6c59373e1c26bf9d821f5c6252a5f32ba24 /bin
parent9822e67fd0a66471759aa014019bb32aff8eca25 (diff)
bin/get-package-updates: use another sponge
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-package-updates8
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 3c9bc1e..e698217 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -207,12 +207,8 @@ done | \
esac
done
-sort -u "${work_dir}/deletion-list.new" > \
- "${work_dir}/deletion-list.new.new"
-
-mv \
- "${work_dir}/deletion-list.new.new" \
- "${work_dir}/deletion-list.new"
+sort -u "${work_dir}/deletion-list.new" | \
+ sponge "${work_dir}/deletion-list.new"
echo 'Extract dependencies of packages.'