Browse Source

Fix inContainer detection which CROSSPLATFORM env variable missing

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Vincent Demeester 8 years ago
parent
commit
b985db92a3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hack/make.sh

+ 1 - 1
hack/make.sh

@@ -36,7 +36,7 @@ if [ "$(go env GOHOSTOS)" = 'windows' ]; then
 		unset inContainer
 		unset inContainer
 	fi
 	fi
 else
 else
-	if [ "$PWD" != "/go/src/$DOCKER_PKG" ] || [ -z "$DOCKER_CROSSPLATFORMS" ]; then
+	if [ "$PWD" != "/go/src/$DOCKER_PKG" ]; then
 		unset inContainer
 		unset inContainer
 	fi
 	fi
 fi
 fi