Fixed substitution of UPGRADE_PATH in firmware.tpl

Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
Reviewed-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
This commit is contained in:
Steffen Pankratz 2016-01-04 16:36:59 +01:00
parent fe99a66dce
commit 78af9cdb76
1 changed files with 2 additions and 3 deletions

View File

@ -180,13 +180,12 @@ prebuild() {
board_prebuild board_prebuild
shopt -s globstar nullglob while IFS= read -r -d '' template
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)"
/bin/rm "$template" /bin/rm "$template"
done done < <(find "${target}/files" -name '*.tpl' -print0)
#insert actual firware version informations into release file #insert actual firware version informations into release file
version=$(git describe --tags --dirty) version=$(git describe --tags --dirty)