Update process_output.sh
Fix issue with files being treated as directories.
This commit is contained in:
parent
944c8ed5df
commit
32f6a37c79
1 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,8 @@ cd ~/mtgencode/cards
|
||||||
|
|
||||||
for folder in $(ls); do
|
for folder in $(ls); do
|
||||||
for sub in ${ ls ${folder} };do
|
for sub in ${ ls ${folder} };do
|
||||||
|
if [ ! -d $folder/$sub ]; then
|
||||||
|
continue
|
||||||
if [ ! -e $folder/$sub/summary.txt ]; then
|
if [ ! -e $folder/$sub/summary.txt ]; then
|
||||||
./scritps/summarize.py -a -v $folder/$sub/output.txt > summary.txt
|
./scritps/summarize.py -a -v $folder/$sub/output.txt > summary.txt
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue