Skip to content
This repository was archived by the owner on Jun 16, 2024. It is now read-only.

Commit 9bda991

Browse files
authored
Allow shell splitting and supress warning
1 parent bde0d9f commit 9bda991

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

prepare.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,15 @@ start_container() {
5757

5858
podman pull --authfile "$CACHE_DIR"/_authfile_"$CONTAINER_ID" "$IMAGE"
5959
rm "$CACHE_DIR"/_authfile_"$CONTAINER_ID"
60+
# We want shell splitting on PODMAN_RUN_COMMAND
61+
# shellcheck disable=2086
6062
podman run \
6163
--detach \
6264
--name "$CONTAINER_ID" \
6365
--volume "$CACHE_DIR:/home/user/cache":z \
6466
"${PODMAN_RUN_ARGS[@]}" \
6567
"$IMAGE"\
66-
"${PODMAN_RUN_COMMAND:-sleep 999999999}"
68+
${PODMAN_RUN_COMMAND:-sleep 999999999}
6769
}
6870

6971
install_command() {

0 commit comments

Comments
 (0)