summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2021-08-03 18:57:25 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2021-08-03 18:57:25 -0700
commit940d782e137941d015585e45ff772e8bb573e484 (patch)
tree7a9b9f4e3ab0406f071877d2450820cafaea4398 /shell
parent48a6b4c662468e7af741f2e706bee8649e0bf844 (diff)
Fix: Fix machine name
Fix machine name on oom-create-netrc Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: Ieb561e39629e15fa0e9568599d8c805e9e2042de
Diffstat (limited to 'shell')
-rw-r--r--shell/oom-create-netrc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/oom-create-netrc.sh b/shell/oom-create-netrc.sh
index 4b076a67b..1b273b1cc 100644
--- a/shell/oom-create-netrc.sh
+++ b/shell/oom-create-netrc.sh
@@ -40,7 +40,7 @@ fi
if [ "$SERVER_ID" == "ossrh" ]; then
machine="oss.sonatype.org"
else
- machine=$(echo "$DOCKER_URL" | awk -F/ '{print $3}')
+ machine=$(echo "$DOCKER_URL")
fi
user=$(echo "$CREDENTIAL" | cut -f1 -d:)