Skip to content

Commit

Permalink
Merge pull request #75 from ethanjli/main
Browse files Browse the repository at this point in the history
Fix typo in command in `oci-rootfs.sh` for podman-based hosts
  • Loading branch information
pothos authored May 15, 2024
2 parents 11280db + 29cdf67 commit e3534d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oci-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e3534d3

Please sign in to comment.