diff --git a/scripts/build.sh b/scripts/build.sh index 9ad6d3630..804ce9b52 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -50,7 +50,7 @@ fi echo -e "\n\n Building theme pages" echo -e " ======================\n\n" -for file in $(ls index_*.ts) +for file in index_*.ts do theme=${file:6:-3} echo -e "\n\n $theme"