Fixed a small issue in create_dummy_game_files.sh

This commit is contained in:
Leon Styhre 2022-04-05 17:06:46 +02:00
parent f8bd60ceec
commit 7d31a61235

View file

@ -17,7 +17,7 @@ if [ ! -f ./systems.txt ]; then
exit
fi
for folder in $(cat systems.txt | cut -f1 -d":"); do
for folder in $(cat systems.txt | cut -f1 -d":" | sed s/"(custom system)"/""/g); do
echo Creating dummy file for system ${folder}
touch ${folder}/dummy$(grep "^\." ${folder}/systeminfo.txt | cut -f1 -d " ")
done