aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2016-05-23 13:02:55 -0600
committerRyan Arnold <ryan.arnold@linaro.org>2016-05-23 21:50:57 +0000
commit746a2d3e4f70ee300efae2b85237b5874ccbd85b (patch)
tree0dd16a31f12f5fb86a5d0d56779756891cd5e849
parentd5fc1a9837b91fe003adb4d7924b3366d3fc1ebb (diff)
Put quotes around configure values for ABE in the array to fix problem with jenkins.sh
Change-Id: Idf35c0ab734bf5ec049d26691f5f7b17ea28e881
-rw-r--r--lib/component.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/component.sh b/lib/component.sh
index 0fc90c43..9fbce3dc 100644
--- a/lib/component.sh
+++ b/lib/component.sh
@@ -504,7 +504,7 @@ collect_data ()
local srcdir="${abe_path}"
local configure=\""`grep ${srcdir}/configure ${abe_top}/config.log | tr -s ' ' | cut -d ' ' -f 4-10| tr ' ' '%'`"\"
popd
- component_init ${component} TOOL=${component} ${branch:+BRANCH=${branch}} ${revision:+REVISION=${revision}} ${url:+URL=${url}} ${filespec:+FILESPEC=${filespec}} ${data:+DATE=${date}} ${srcdir:+SRCDIR=${srcdir}} ${configure:+CONFIGURE=${configure}}
+ component_init ${component} TOOL=${component} ${branch:+BRANCH=${branch}} ${revision:+REVISION=${revision}} ${url:+URL=${url}} ${filespec:+FILESPEC=${filespec}} ${data:+DATE=${date}} ${srcdir:+SRCDIR=${srcdir}} ${configure:+CONFIGURE=\"${configure}\"}
if [ $? -ne 0 ]; then
error "component_init failed"
return 1