diff options
author | Tomáš Levora <t.levora@partner.samsung.com> | 2019-05-23 12:25:44 +0200 |
---|---|---|
committer | Tomáš Levora <t.levora@partner.samsung.com> | 2019-05-27 14:16:30 +0000 |
commit | fd1f0e7ae62891060f44c9561a69b31a6a63e63e (patch) | |
tree | e9313b4d46f2c86834206e3db84b56b96c1bb9d0 /build | |
parent | 1299f5c30a659afcbb7ba87e69bee063da42ab6c (diff) |
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>
Diffstat (limited to 'build')
-rwxr-xr-x | build/build_nexus_blob.sh | 4 |
1 files 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 |