Windows CI: In container logic flaw

Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 5601fc8507d9edb4eb764b7337866ea04f44be54
Component: engine
This commit is contained in:
John Howard
2016-01-24 09:22:50 -08:00
parent 881cc64be6
commit 285dba59c1

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