summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-01-25 15:50:18 +0000
committerGerrit Code Review <gerrit@onap.org>2021-01-25 15:50:18 +0000
commit9faac26f2d3b6b4fe2059d03756d1a7db5e9b1e2 (patch)
tree634290a311090f8d6de7aa215e216ab623297f9c
parent91b7f3ee06e0238829fc3208f677dee982aefd19 (diff)
parent2b2ba7f448c32b41019612c033f5720550dffe3f (diff)
Merge "Fix repository bug in nexus_image_add"
-rwxr-xr-xtools/nexus_image_add.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nexus_image_add.sh b/tools/nexus_image_add.sh
index 35940817..17e59150 100755
--- a/tools/nexus_image_add.sh
+++ b/tools/nexus_image_add.sh
@@ -16,7 +16,7 @@ REMOTE_PASSWD=
#User and password for docker login on localhost
LOCAL_USER=
LOCAL_PASSWD=
-IMAGE=`sed 's/^[^/]*\///g' <<< ${1}`
+IMAGE=`sed 's/^[^.]*\.[^/]*\///g' <<< ${1}`
help()
{