ソースを参照

Merge pull request #19639 from Microsoft/jjh/incontainerlogic

Windows CI: In container logic flaw
Vincent Demeester 9 年 前
コミット
96009914b0
1 ファイル変更1 行追加1 行削除
  1. 1 1
      hack/make.sh

+ 1 - 1
hack/make.sh

@@ -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