Fix snapcraft container volume path

This commit is contained in:
2025-04-13 22:06:16 -04:00
parent 5816564b66
commit 0993fc7ee3

View File

@@ -1126,7 +1126,7 @@ install_mc_snap() {
echo "Building snap package..." echo "Building snap package..."
if execute podman run --rm -it \ if execute podman run --rm -it \
-v "$snap_dir:/build" \ -v "$OUTPUT_DIR:/build" \
-w /build \ -w /build \
docker.io/snapcore/snapcraft:stable \ docker.io/snapcore/snapcraft:stable \
snapcraft snap -o "${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" --destructive-mode; then snapcraft snap -o "${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" --destructive-mode; then