- better to use bash's build-in glob functionality instead of looping over the returned find output

Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
Reviewed-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
This commit is contained in:
Steffen Pankratz 2015-07-17 18:47:10 +02:00 committed by Tim Niemeyer
parent 762ab6013b
commit 0bce38b3a2
1 changed files with 2 additions and 1 deletions

View File

@ -160,7 +160,8 @@ prebuild() {
board_prebuild
for template in $(find $target/files -name *.tpl)
shopt -s globstar nullglob
for template in $target/files/**/*.tpl
do
echo "Translating $template .."
$tpl_translate $template > $(dirname $template)/$(basename $template .tpl)