kas-docker: Add missing } to variable derefencing

Reported-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Daniel Wagner <daniel.wagner@siemens.com>
This commit is contained in:
Daniel Wagner 2018-12-17 10:50:55 +01:00
parent 49a6bbfc82
commit fd58905753

View File

@ -147,7 +147,7 @@ DOCKER_ARGS="-v ${REPO_DIR}:/repo:ro \
-e USER_ID=$(id -u) -e GROUP_ID=$(id -g) --rm"
if [ -n "${SSH_DIR}" ] ; then
[ -d "${SSH_DIR}" ] || echo "Passed SSH_VALUE '${SSH_DIR' is not a directory" ; exit 1
[ -d "${SSH_DIR}" ] || echo "Passed SSH_VALUE '${SSH_DIR}' is not a directory" ; exit 1
DOCKER_ARGS="${DOCKER_ARGS} -v $(readlink -f ${SSH_DIR}):/etc/skel/.ssh:ro"
fi