From d7eada1a318653d5d7cdc4962f80bada867126b4 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 14 Mar 2018 22:12:44 +0000 Subject: [PATCH] SC2006 --- lgsm/functions/mods_core.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/mods_core.sh b/lgsm/functions/mods_core.sh index fbf2c0b29..9ba3736e7 100644 --- a/lgsm/functions/mods_core.sh +++ b/lgsm/functions/mods_core.sh @@ -43,7 +43,7 @@ fn_mod_lowercase(){ fileswc=$(find "${extractdir}" -depth | wc -l) echo -en "\r" while read -r src; do - dst=`dirname "${src}"`/`basename "${src}" | tr '[A-Z]' '[a-z]'` + dst=$(dirname "${src}"`/`basename "${src}" | tr '[A-Z]' '[a-z]') if [ "${src}" != "${dst}" ] then [ ! -e "${dst}" ] && mv -T "${src}" "${dst}" || echo "${src} was not renamed"