forked from freifunk-franken/firmware
- 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:
parent
762ab6013b
commit
0bce38b3a2
|
@ -160,7 +160,8 @@ prebuild() {
|
||||||
|
|
||||||
board_prebuild
|
board_prebuild
|
||||||
|
|
||||||
for template in $(find $target/files -name *.tpl)
|
shopt -s globstar nullglob
|
||||||
|
for template in $target/files/**/*.tpl
|
||||||
do
|
do
|
||||||
echo "Translating $template .."
|
echo "Translating $template .."
|
||||||
$tpl_translate $template > $(dirname $template)/$(basename $template .tpl)
|
$tpl_translate $template > $(dirname $template)/$(basename $template .tpl)
|
||||||
|
|
Loading…
Reference in New Issue