From: Tomáš Levora Date: Thu, 23 May 2019 10:25:44 +0000 (+0200) Subject: Fix wrong path to backup files X-Git-Tag: 6.0.0-ONAP~192 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=fd1f0e7ae62891060f44c9561a69b31a6a63e63e;p=oom%2Foffline-installer.git Fix wrong path to backup files 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 --- 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