From 78af9cdb7655ef7d67e2ca0ef076aeb327ba35e5 Mon Sep 17 00:00:00 2001 From: Steffen Pankratz Date: Mon, 4 Jan 2016 16:36:59 +0100 Subject: [PATCH] Fixed substitution of UPGRADE_PATH in firmware.tpl Signed-off-by: Steffen Pankratz Reviewed-by: Tim Niemeyer --- buildscript | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/buildscript b/buildscript index 916314d..508e6ec 100755 --- a/buildscript +++ b/buildscript @@ -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)