From 3ec022c90c18c0dd772a7823154017ec63a23326 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Fri, 1 Mar 2024 01:18:40 +0100 Subject: [PATCH] filesToDo is a var so add $ in front of it --- .po2tl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.po2tl.sh b/.po2tl.sh index dcf7ff4..e7b747d 100755 --- a/.po2tl.sh +++ b/.po2tl.sh @@ -43,7 +43,7 @@ if (( ${#filesToDo[@]} > 0 )); then echo "| BUILDING |" echo -e "--------------------\x1B[0m" echo - for file in filesToDo; do + for file in $filesToDo; do file2=${file%.po} langcc=${file2#\.\/translations\-} if [[ -n ${langnames[$langcc]} ]]; then