Mercurial > hg > batmud > misc
changeset 289:fb11575b634e misc
Use parsematerial.pl -dump for long list.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 09 Mar 2015 06:17:12 +0200 |
parents | e2f5b059e14d |
children | 8ffcb08361bc |
files | materials/mkmaterialinfo.sh |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/materials/mkmaterialinfo.sh Mon Mar 09 13:30:07 2015 +0200 +++ b/materials/mkmaterialinfo.sh Mon Mar 09 06:17:12 2015 +0200 @@ -12,10 +12,7 @@ echo -n "Last updated: " > "$LISTLONG" date >> "$LISTLONG" echo "" >> "$LISTLONG" -for i in $DATADIR/*.mat; do - echo "-------------------------------------------------------------------------------" >> "$LISTLONG" - cat "$i" >> "$LISTLONG" -done +cat $DATADIR/*.mat | perl -w parsematerial.pl -dump >> "$LISTLONG" # Create the short and CSV lists