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 <t.levora@partner.samsung.com>
diff --git a/build/build_nexus_blob.sh b/build/build_nexus_blob.sh
index 4b1697e..131c8d7 100755
--- a/build/build_nexus_blob.sh
+++ b/build/build_nexus_blob.sh
@@ -311,10 +311,10 @@
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