From 29cdf678efac26ee924d79c3bf70167a7a8f099a Mon Sep 17 00:00:00 2001 From: Ethan Li Date: Tue, 14 May 2024 23:39:52 -0700 Subject: [PATCH] Fix typo in `oci-rootfs.sh` for podman-based systems --- oci-rootfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oci-rootfs.sh b/oci-rootfs.sh index 7ff520a..a6d3650 100755 --- a/oci-rootfs.sh +++ b/oci-rootfs.sh @@ -47,7 +47,7 @@ fi echo "Using temporary container ${ID}" trap "'${DOCKER}' rm --force --time 0 '${ID}'" EXIT INT if [ "${CMD}" != "" ]; then - docker run --name "${ID}" "${IMAGE}" sh -c "${CMD}" + "${DOCKER}" run --name "${ID}" "${IMAGE}" sh -c "${CMD}" fi rm -f "${FOLDER}.tar" "${DOCKER}" export "${ID}" -o "${FOLDER}.tar"