Skip to content

Commit 2e2dd5e

Browse files
committed
Fix mount.sh for -debug targets
1 parent 460b72b commit 2e2dd5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-mount.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ source .common
2424
#######################################################################################################################
2525
# Build docker image first if needed
2626

27-
if ! docker images | grep -q "mpbi_${PLATFORM}"; then
27+
if ! docker images | grep -q "^mpbi_${PLATFORM} "; then
2828
docker buildx build \
2929
--build-arg platform="${PLATFORM}" \
3030
--build-arg target=toolchain \
@@ -35,7 +35,7 @@ fi
3535
#######################################################################################################################
3636
# Now setup docker mountpoints (or run it if already exists)
3737

38-
if docker ps -a | grep -q "mpb_${PLATFORM}"; then
38+
if docker ps -a | grep -q "^mpb_${PLATFORM} "; then
3939
docker start -i "mpb_${PLATFORM}"
4040
elif [ -n "${EXTRA_MOUNT_PATH}" ]; then
4141
docker run --name "mpb_${PLATFORM}" -ti \

0 commit comments

Comments
 (0)