Correct the var name: file -> FILE ...

This commit is contained in:
gardouille 2014-10-24 15:07:03 +02:00
parent ed4432c18e
commit ab1cf814fa
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ if [ -d ${ALBUM_NAME} ]; then
pushd "${ALBUM_NAME}"
## For all files with the old format in the album directory
for file in *.${OLD_FORMAT}
for FILE in *.${OLD_FORMAT}
do
# -v error: display only if error
avconv -v "${LOG_LEVEL}" -i "${FILE}" -b "${BITRATE}" "${NEW_ALBUM_NAME}/${FILE%${OLD_FORMAT}}${NEW_FORMAT}"