diff --git a/scripts/reencode_audio.sh b/scripts/reencode_audio.sh index 814eb43..511ea6d 100755 --- a/scripts/reencode_audio.sh +++ b/scripts/reencode_audio.sh @@ -5,7 +5,7 @@ set -euo pipefail dir="$(pwd)" dest=${dir%/*}/${dir##*/}_reencode if [[ !(-d $dest) ]]; then - mkdir $dest + mkdir "$dest" fi for file in ./*.$1; do diff --git a/scripts/reencode_m4a.sh b/scripts/reencode_m4a.sh index 38e1bcc..8ddc742 100755 --- a/scripts/reencode_m4a.sh +++ b/scripts/reencode_m4a.sh @@ -21,7 +21,7 @@ fi dir="$(pwd)" dest=${dir%/*}/${dir##*/}_reencode if [[ !(-d $dest) ]]; then - mkdir $dest + mkdir "$dest" fi for file in ./*.m4a; do diff --git a/scripts/transcode_opus.sh b/scripts/transcode_opus.sh index 8ca6e3a..f3da181 100755 --- a/scripts/transcode_opus.sh +++ b/scripts/transcode_opus.sh @@ -16,7 +16,7 @@ done dir="$(pwd)" dest=${dir%/*}/${dir##*/}_ogg if [[ !(-d $dest) ]]; then - mkdir $dest + mkdir "$dest" fi for file in ./*.$file_suffix; do