1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Windows CI: In container logic flaw

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2016-01-24 09:22:50 -08:00
parent 7aafa76662
commit 5601fc8507

View file

@ -31,7 +31,7 @@ export MAKEDIR="$SCRIPTDIR/make"
# but really, they shouldn't. We want to be in a container!
inContainer="AssumeSoInitially"
if [ "$(go env GOHOSTOS)" = 'windows' ]; then
if [ -n "$FROM_DOCKERFILE" ]; then
if [ -z "$FROM_DOCKERFILE" ]; then
unset inContainer
fi
else