Explorar o código

Fix inContainer detection which CROSSPLATFORM env variable missing

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Vincent Demeester %!s(int64=8) %!d(string=hai) anos
pai
achega
b985db92a3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hack/make.sh

+ 1 - 1
hack/make.sh

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