From 940d782e137941d015585e45ff772e8bb573e484 Mon Sep 17 00:00:00 2001 From: Jessica Wagantall Date: Tue, 3 Aug 2021 18:57:25 -0700 Subject: Fix: Fix machine name Fix machine name on oom-create-netrc Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall Change-Id: Ieb561e39629e15fa0e9568599d8c805e9e2042de --- shell/oom-create-netrc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') 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:) -- cgit 1.2.3-korg