remove extra ', ' at end of formatted card names

master
melvin 2014-06-28 19:49:20 +08:00
parent fe276c749d
commit 2e946290a3
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ cards/new.txt: cards/existing_tip.txt
make wiki/UpcomingCards.wiki
cards/fmt.txt: cards/new.txt
cat $^ | tr " " "@" | tr "\n" "#" | sed 's/#/, /g' | fmt | sed 's/@/ /g' > $@
cat $^ | tr " " "@" | tr "\n" "#" | sed 's/#/, /g' | sed 's/, $$//' | fmt | sed 's/@/ /g' > $@
changelog:
$(eval LAST := $(shell hg tags | grep "^[[:digit:]]" | head -1 | cut -d' ' -f1))