diff --git a/make/smart-selection.mk b/make/smart-selection.mk index e5f95c6e..422b7d1f 100644 --- a/make/smart-selection.mk +++ b/make/smart-selection.mk @@ -30,9 +30,8 @@ include $(MODDIR)/make/defs.mk # === rules selection.done: $(MODDIR)/make/smart-selection.mk rpm -qa --queryformat '%{NAME}\n' | sort -u | \ - sed ' \ - /gpg-pubkey/ d \ - ' > $(SELECTION) + sed '/gpg-pubkey/ d' > $(SELECTION).tmp + mv $(SELECTION).tmp $(SELECTION) touch $@ channels.done: $(MODDIR)/make/smart-selection.mk