mirror of
https://github.com/araxiaonline/azerothshard-core.git
synced 2026-06-13 02:42:24 -04:00
19 lines
333 B
Bash
Executable File
19 lines
333 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
for f in $DIR"/"*.dbc; do
|
|
|
|
OPT=""
|
|
FILE=$f".csv.def"
|
|
|
|
if [ -f $FILE ]; then
|
|
source $FILE
|
|
fi
|
|
|
|
echo "running wine $DIR/dbc_util/DBCUtil.exe $f -y $OPT"
|
|
wine "$DIR/bin/DBCUtil/DBCUtil.exe" $f -y "$OPT"
|
|
done
|
|
|
|
read -p "Done"
|