Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update merge job to work with common-packer
[releng/global-jjb.git]
/
shell
/
create-netrc.sh
diff --git
a/shell/create-netrc.sh
b/shell/create-netrc.sh
index
35bc0c3
..
2c7f782
100644
(file)
--- a/
shell/create-netrc.sh
+++ b/
shell/create-netrc.sh
@@
-23,4
+23,4
@@
machine=$(echo "$NEXUS_URL" | awk -F/ '{print $3}')
user=$(echo "$CREDENTIAL" | cut -f1 -d:)
pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
user=$(echo "$CREDENTIAL" | cut -f1 -d:)
pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
-echo "machine $
machine
login $user password $pass" > ~/.netrc
+echo "machine $
{machine%:*}
login $user password $pass" > ~/.netrc