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
|
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)
|
||||||
|
|
Loading…
Reference in New Issue