Skip to content
This repository was archived by the owner on Sep 26, 2021. It is now read-only.

Commit 45e28ea

Browse files
committed
Merge branch 'master' of github.com:docker/toolbox
Signed-off-by: Joffrey F <[email protected]>
2 parents 4c43383 + 44cb705 commit 45e28ea

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

osx/mpkg/quickstart.app/Contents/Resources/Scripts/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if [ $VM_EXISTS_CODE -eq 1 ]; then
5050
"${DOCKER_MACHINE}" create -d virtualbox $PROXY_ENV --virtualbox-memory 2048 --virtualbox-disk-size 204800 "${VM}"
5151
fi
5252

53-
VM_STATUS="$(${DOCKER_MACHINE} status ${VM} 2>&1)"
53+
VM_STATUS="$( set +e ; ${DOCKER_MACHINE} status ${VM} )"
5454
if [ "${VM_STATUS}" != "Running" ]; then
5555
"${DOCKER_MACHINE}" start "${VM}"
5656
yes | "${DOCKER_MACHINE}" regenerate-certs "${VM}"

osx/uninstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ while true; do
1717
done
1818

1919
echo "Removing Applications..."
20-
rm -rf /Applications/Docker
20+
rm -rf /Applications/Docker.app
2121

2222
echo "Removing docker binaries..."
2323
rm -f /usr/local/bin/docker

script/build-osx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ docker build \
1616
--build-arg VBOX_REV="${VBOX_REV}" \
1717
--build-arg MIXPANEL_TOKEN="${MIXPANEL_TOKEN}" \
1818
.
19-
CONTAINER="$(docker run -d osx-installer)"
19+
CONTAINER="$(docker create osx-installer)"
2020
mkdir -p dist
2121
docker cp "${CONTAINER}":/DockerToolbox.pkg dist/
2222
docker rm "${CONTAINER}" 2>/dev/null || true

script/build-windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ docker build \
1616
--build-arg VBOX_REV="${VBOX_REV}" \
1717
--build-arg MIXPANEL_TOKEN="${MIXPANEL_TOKEN}" \
1818
.
19-
CONTAINER="$(docker run -d windows-installer)"
19+
CONTAINER="$(docker create windows-installer)"
2020
mkdir -p dist
2121
docker cp "${CONTAINER}":/installer/Output/DockerToolbox.exe dist/
2222
docker rm "${CONTAINER}" 2>/dev/null || true

windows/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ if [ $VM_EXISTS_CODE -eq 1 ]; then
6161
fi
6262

6363
STEP="Checking status on $VM"
64-
VM_STATUS="$(${DOCKER_MACHINE} status ${VM} 2>&1)"
64+
VM_STATUS="$( set +e ; ${DOCKER_MACHINE} status ${VM} )"
6565
if [ "${VM_STATUS}" != "Running" ]; then
6666
"${DOCKER_MACHINE}" start "${VM}"
6767
yes | "${DOCKER_MACHINE}" regenerate-certs "${VM}"

0 commit comments

Comments
 (0)