Image builds broken for BUILDER=docker
A recent update to build-stx-images.sh broke the building of images with BUILDER=docker. A bash syntax error was introduced that leads to invalid function calls, resulting in the following error: get_git '' '' basename: missing operand Try 'basename --help' for more information. git repo appears to be invalid: . Aborting... Failed to clone or update . Aborting... This update corrects the bash syntax. Change-Id: I09487869350af82b13d9670ff7035078c4a21d4a Closes-Bug: 1831093 Signed-off-by: Don Penney <don.penney@windriver.com>
This commit is contained in:
parent
b8c3be9f3b
commit
8f42b58cf3
@ -399,7 +399,7 @@ function build_image_docker {
|
|||||||
echo "Building ${LABEL}"
|
echo "Building ${LABEL}"
|
||||||
|
|
||||||
local docker_src
|
local docker_src
|
||||||
if [ -z "DOCKER_REPO" ]; then
|
if [ -z "${DOCKER_REPO}" ]; then
|
||||||
docker_src=$(dirname ${image_build_file})/docker
|
docker_src=$(dirname ${image_build_file})/docker
|
||||||
else
|
else
|
||||||
local ORIGWD=${PWD}
|
local ORIGWD=${PWD}
|
||||||
|
Loading…
Reference in New Issue
Block a user