From f8f44e9c04716f37a6983e276715bb25e638dc4d Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sun, 1 Jan 2017 22:44:33 +0100 Subject: [PATCH] Replaced `...` with $(...) --- themes/build-themes.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}"