From 7248c44960dd9c092214ef73651b66f6bacd94fa Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sun, 4 May 2008 22:17:06 +0000 Subject: [PATCH] smart-selection.mk: Fix selection.done target --- make/smart-selection.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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