make: Replace sed by $(SED)

This commit is contained in:
Jan Lindemann 2012-02-04 10:59:02 +00:00 committed by Jan Lindemann
commit 9f4e02e618
18 changed files with 80 additions and 77 deletions

View file

@ -30,12 +30,12 @@ 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).tmp
$(SED) '/gpg-pubkey/ d' > $(SELECTION).tmp
mv $(SELECTION).tmp $(SELECTION)
touch $@
channels.done: $(MODDIR)/make/smart-selection.mk
smart channel --show | sed '/\[rpm-sys\]/,+3 d' > $(CHANNEL_LIST)
smart channel --show | $(SED) '/\[rpm-sys\]/,+3 d' > $(CHANNEL_LIST)
touch $@
upload.done: selection.done