Commit 775e71cd authored by nanahira's avatar nanahira

fix

parent 1dfe30f6
......@@ -129,7 +129,7 @@ process_repo() {
rm expansions || rmdir expansions || true
ln -sf "$current_path/workspace/$repo_identifer" expansions
ls -1 $current_path/workspace/$repo_identifer/*.cdb | xargs -I '{}' sqlite3 '{}' 'select id from datas where type != 0x11 and (type & 0x4000) = 0;' | xargs -I '{}' ./ygopro '{}' 2>&1 | tee "$current_path/dist/redtexts/$repo_identifer.txt"
ls -1 $current_path/workspace/$repo_identifer/*.cdb | xargs -I '{}' -d '\n' sqlite3 '{}' 'select id from datas where type != 0x11 and (type & 0x4000) = 0;' | xargs -I '{}' -d '\n' ./ygopro '{}' 2>&1 | tee "$current_path/dist/redtexts/$repo_identifer.txt"
cd "$current_path"
......@@ -157,11 +157,11 @@ process_repo() {
else
used_codes[$code]="$repo_url"
fi
done < <(ls -1 workspace/$repo_identifer/*.cdb | xargs -I '{}' sqlite3 '{}' 'select id from datas;')
done < <(ls -1 workspace/$repo_identifer/*.cdb | xargs -I '{}' -d '\n' sqlite3 '{}' 'select id from datas;')
echo "Archiving $repo_identifer"
ls -1 workspace/$repo_identifer/*.cdb | xargs -I '{}' sqlite3 '{}' .dump | sqlite3 dist/custom-free.cdb || true
ls -1 workspace/$repo_identifer/*.cdb | xargs -I '{}' -d '\n' sqlite3 '{}' .dump | sqlite3 dist/custom-free.cdb || true
# copy strings.conf if necessary
if [ -f workspace/$repo_identifer/strings.conf ]; then
echo "" >> dist/strings.conf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment