Mercurial > hg > batmud > misc
changeset 243:45d0422cfbb3 misc
Don't go through $HOME/tf/logs.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 07 Mar 2015 22:37:46 +0200 |
parents | f5aacb1bfd45 |
children | 29f5f43df835 |
files | materials/mkalloyinfo.sh |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/materials/mkalloyinfo.sh Thu Feb 27 19:37:07 2014 +0200 +++ b/materials/mkalloyinfo.sh Sat Mar 07 22:37:46 2015 +0200 @@ -9,7 +9,9 @@ echo "Generating alloy data ..." cat ggr_alloys.txt data-*.log > tmp -cat $HOME/tf/logs/*.log hair_alloy_logs/*.log | grep -B1 "^You mix .* and create a quantity of " >> tmp +cat hair_alloy_logs/*.log | \ + grep -B1 "^You mix .* and create a quantity of " >> tmp + perl -w parsealloys.pl -php < tmp > "$ALLOYPHP" perl -w parsealloys.pl -text < tmp > "$ALLOYTXT"