Merge pull request #19639 from Microsoft/jjh/incontainerlogic

Windows CI: In container logic flaw
This commit is contained in:
Vincent Demeester 2016-01-24 22:19:23 +01:00
commit 96009914b0

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