From ab85a8af57bcba6f723159a828a27853466e8736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Ren=C3=A9=20Sch=C3=A4dler?= Date: Fri, 15 Nov 2013 11:53:12 +0100 Subject: [PATCH] "buildscript" Fix handling of slashes in templates (eg. URLS) --- buildscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildscript b/buildscript index 61d58a9..28856c0 100755 --- a/buildscript +++ b/buildscript @@ -161,7 +161,7 @@ if [ "$1" != "selectbsp" -a "$1" != "selectcommunity" -a "$1" != "buildall" ]; t echo "Working with $(/bin/ls -l selected_bsp | awk '{ print $11 }') and" \ "$(/bin/ls -l selected_community | awk '{ print $11 }')" . selected_bsp - tpl_translate=$(awk -F= 'BEGIN{printf("sed")} /^.+$/{printf(" -es/\\${%s}/%s/g",$1,$2)}' selected_community) + tpl_translate=$(awk -F= 'BEGIN{printf("sed")} /^.+$/{gsub("/", "\\/", $0); printf(" -es/\\${%s}/%s/g",$1,$2)}' selected_community) echo fi