kas-docker: Fix bad substitution error
kas-docker uses sh shell, which doesnot support pattern substitution like bash. Replace Bash like pattern substitution with sed. Signed-off-by: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
839c936abb
commit
a48ae6a7fa
@ -104,7 +104,7 @@ esac
|
||||
while [ $# -gt 0 ]; do
|
||||
case "$1" in
|
||||
--isar)
|
||||
DOCKER_IMAGE="${DOCKER_IMAGE/kasproject\/kas/kasproject\/kas-isar}"
|
||||
DOCKER_IMAGE="$(echo "${DOCKER_IMAGE}" | sed 's|kasproject/kas|kasproject/kas-isar|g')"
|
||||
ISAR_ARGS="--cap-add=SYS_ADMIN --cap-add=MKNOD --privileged"
|
||||
|
||||
# sudo is needed for a privileged podman container
|
||||
|
Loading…
Reference in New Issue
Block a user