Code Review
/
releng
/
global-jjb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
9b24045
)
Simplify conditional statement for ALT_NEXUS_REPO
06/10906/1
author
Thanh Ha
<thanh.ha@linuxfoundation.org>
Thu, 31 May 2018 15:47:20 +0000
(11:47 -0400)
committer
Thanh Ha
<thanh.ha@linuxfoundation.org>
Thu, 31 May 2018 15:47:22 +0000
(11:47 -0400)
Change-Id: I72cecef2c52e1c1e2688437a18dfa02bc1b4c3e6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
shell/create-netrc.sh
patch
|
blob
|
history
diff --git
a/shell/create-netrc.sh
b/shell/create-netrc.sh
index
81ac647
..
52f239d
100644
(file)
--- a/
shell/create-netrc.sh
+++ b/
shell/create-netrc.sh
@@
-13,9
+13,9
@@
echo "---> create-netrc.sh"
# Ensure we fail the job if any steps fail.
set -eu -o pipefail
-ALT_NEXUS_URL="${ALT_NEXUS_URL:-
None
}"
+ALT_NEXUS_URL="${ALT_NEXUS_URL:-}"
-if [
[ -z "$ALT_NEXUS_URL" || "$ALT_NEXUS_URL" == "None" ]
]
+if [
-z "$ALT_NEXUS_URL"
]
then
NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
else