fixed rename mods [CI SKIP]

This commit is contained in:
Djeeberjr 2022-09-18 21:42:55 +02:00
parent d6ec41c269
commit ae95e1b037

View File

@ -50,7 +50,7 @@ done
echo "### FIX CASE ###" echo "### FIX CASE ###"
IFS=\$'\n' IFS=\$'\n'
for SRC in \$(find "\$MOD_DIR/" -depth) for SRC in \$(find "\$MOD_DIR/" -depth -type f -name '*.pbo' -o -type f -name '*.bisign')
do do
DST=\$(dirname "\${SRC}")/\$(basename "\${SRC}" | tr '\[A-Z\]' '\[a-z\]') DST=\$(dirname "\${SRC}")/\$(basename "\${SRC}" | tr '\[A-Z\]' '\[a-z\]')
if [ "\${SRC}" != "\${DST}" ] if [ "\${SRC}" != "\${DST}" ]