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
1 changed files with 1 additions and 1 deletions

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