diff --git a/themes/build-themes.sh b/themes/build-themes.sh index 08b23419..40764c53 100755 --- a/themes/build-themes.sh +++ b/themes/build-themes.sh @@ -1,8 +1,8 @@ #!/bin/bash -FILE_PATH="`dirname \"$0\"`" +FILE_PATH="$(dirname \"$0\")" -for file in `ls "${FILE_PATH}/"*.less`; do +for file in $(ls "${FILE_PATH}/"*.less); do filename="${file##*/}" themeName="${filename%.less}"