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:
parent
49a6bbfc82
commit
fd58905753
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user