From e362ec5bced3a97a0732577b3debe355158eb85d Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 16 May 2016 09:55:22 -0300 Subject: [PATCH] Do not send files to final place if hostname is empty --- tools/builder_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/builder_common.sh b/tools/builder_common.sh index 545c0091e5..2a183b3c74 100644 --- a/tools/builder_common.sh +++ b/tools/builder_common.sh @@ -1938,7 +1938,7 @@ pkg_repo_rsync() { print_error_pfS fi - if [ -z "${USE_PKG_REPO_STAGING}" ]; then + if [ -z "${USE_PKG_REPO_STAGING}" -o -z "${PKG_FINAL_RSYNC_HOSTNAME}" ]; then return fi