summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()
{