From a408ee62ee857687347bc399dbce7f284065f8ba Mon Sep 17 00:00:00 2001 From: Gernot Schulz Date: Mon, 7 Sep 2020 10:29:18 +0200 Subject: [PATCH] Docker build.sh: Run aux build scripts in subshell --- docker/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/build.sh b/docker/build.sh index ce58dbd49..5a4f5d864 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -92,7 +92,7 @@ for i in "${SELECTED_TARGETS[@]}"; do # Special instructions for local services build_script="$(dirname "${BASH_SOURCE[0]}")/../${i}/build.sh" if [[ -f "$build_script" ]]; then - . "$build_script" + ( . "$build_script" ) else docker build --tag "$img" --pull "${OPTIONS[@]}" "$loc" fi