فهرست منبع

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!
 # but really, they shouldn't. We want to be in a container!
 inContainer="AssumeSoInitially"
 inContainer="AssumeSoInitially"
 if [ "$(go env GOHOSTOS)" = 'windows' ]; then
 if [ "$(go env GOHOSTOS)" = 'windows' ]; then
-	if [ -n "$FROM_DOCKERFILE" ]; then
+	if [ -z "$FROM_DOCKERFILE" ]; then
 		unset inContainer
 		unset inContainer
 	fi
 	fi
 else
 else