mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-12-21 07:16:52 +01:00
29260c205d
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35700 269b9781-a132-4a9b-9d4e-f004f1b56b58
12 lines
318 B
Bash
Executable File
12 lines
318 B
Bash
Executable File
#!/bin/bash
|
|
|
|
CARDSFOLDER="../res/cardsfolder/"
|
|
|
|
for d in `ls -1 "$CARDSFOLDER"`; do
|
|
for f in `ls -1 "$CARDSFOLDER/$d"`; do
|
|
FILE="$CARDSFOLDER/$d/$f";
|
|
dos2unix "$FILE";
|
|
[[ -f "$FILE" && $(tail -c1 "$FILE") ]] && echo '' >> "$FILE" && echo "Appended trailing newline to $FILE";
|
|
done
|
|
done
|