Merge pull request #19639 from Microsoft/jjh/incontainerlogic

Windows CI: In container logic flaw
Upstream-commit: 96009914b0a4cc6d40f5dc5fc955eace90871004
Component: engine
This commit is contained in:
Vincent Demeester
2016-01-24 22:19:23 +01:00
+1 -1
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