forked from freifunk-franken/firmware
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:
parent
fe99a66dce
commit
78af9cdb76
|
@ -180,13 +180,12 @@ prebuild() {
|
|||
|
||||
board_prebuild
|
||||
|
||||
shopt -s globstar nullglob
|
||||
for template in $target/files/**/*.tpl
|
||||
while IFS= read -r -d '' template
|
||||
do
|
||||
echo "Translating $template .."
|
||||
$tpl_translate "$template" > "$(dirname "$template")"/"$(basename "$template" .tpl)"
|
||||
/bin/rm "$template"
|
||||
done
|
||||
done < <(find "${target}/files" -name '*.tpl' -print0)
|
||||
|
||||
#insert actual firware version informations into release file
|
||||
version=$(git describe --tags --dirty)
|
||||
|
|
Loading…
Reference in New Issue