From fd1f0e7ae62891060f44c9561a69b31a6a63e63e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tom=C3=A1=C5=A1=20Levora?= Date: Thu, 23 May 2019 12:25:44 +0200 Subject: [PATCH] Fix wrong path to backup files MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit In the Nexus build script were incomplete paths to backup files what is fixed by this patch Issue-ID: OOM-1875 Change-Id: I86e3f157d6f142f87013c18c79fb58e52cad42f9 Signed-off-by: Tomáš Levora --- build/build_nexus_blob.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/build_nexus_blob.sh b/build/build_nexus_blob.sh index 4b1697e3..131c8d7e 100755 --- a/build/build_nexus_blob.sh +++ b/build/build_nexus_blob.sh @@ -311,10 +311,10 @@ echo "Stopping Nexus and returning backups" docker stop ${NEXUS_CONT_ID} > /dev/null # Return backed up configuration files -mv -f "${HOSTS_BACKUP}" /etc/hosts +mv -f "/etc/${HOSTS_BACKUP}" /etc/hosts if [ -f "~/.docker/${DOCKER_CONF_BACKUP}" ]; then - mv -f "${DOCKER_CONF_BACKUP}" ~/.docker/config.json + mv -f "~/.docker/${DOCKER_CONF_BACKUP}" ~/.docker/config.json fi # Return default settings -- 2.16.6