From 71134c448d9aef2aa8641fbcb31b3ec9d4ae769f Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 19 Jul 2021 20:09:13 +0100 Subject: [PATCH] Fix docker variable passthrough --- scripts/in-docker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/in-docker.sh b/scripts/in-docker.sh index f2490ac..bde4325 100755 --- a/scripts/in-docker.sh +++ b/scripts/in-docker.sh @@ -7,9 +7,9 @@ if [ $? != 0 ]; then fi # Taken from https://www.electron.build/multi-platform-build#docker -docker run --rm -ti \ # Pass through any vars prefixed with INDOCKER_, removing the prefix - --env-file <(env | grep -E '^INDOCKER_=' | sed -e 's/^INDOCKER_//') \ +docker run --rm -ti \ + --env-file <(env | grep -E '^INDOCKER_' | sed -e 's/^INDOCKER_//') \ --env ELECTRON_CACHE="/root/.cache/electron" \ --env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \ -v ${PWD}:/project \