From 6dc0bd5cc52254d543f6f26b3e31cff522141846 Mon Sep 17 00:00:00 2001 From: Artem Smirnov Date: Mon, 24 Sep 2018 18:07:43 +0300 Subject: [PATCH] image_builder: disable stdout in wget --- builder_docker/image-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder_docker/image-build.sh b/builder_docker/image-build.sh index c9d33c49..f017e31c 100755 --- a/builder_docker/image-build.sh +++ b/builder_docker/image-build.sh @@ -48,7 +48,7 @@ get_image() { # TODO: The repository can be already downloaded, use the TARGET_REPO also as unix path. REPO_DIR=$(mktemp -d --suffix=.builder_repo) -git clone ${TARGET_REPO} --single-branch --branch ${TARGET_REF} --depth 1 ${REPO_DIR} \ +git clone ${TARGET_REPO} --single-branch --branch ${TARGET_REF} --depth 1 ${REPO_DIR} &> /dev/null \ || (echo 'Error: Could not clone repo!'; return 1) [[ -f ${REPO_DIR}${TARGET_CONFIG} ]] && export TARGET_CONFIG=${REPO_DIR}${TARGET_CONFIG} \ || (echo "Error: TARGET_CONFIG doesn't exist!"; return 1)