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
Accept maven configuration in Python tox sonar
[releng/global-jjb.git]
/
shell
/
jenkins-configure-clouds.sh
diff --git
a/shell/jenkins-configure-clouds.sh
b/shell/jenkins-configure-clouds.sh
index
8f7b3a8
..
405eced
100644
(file)
--- a/
shell/jenkins-configure-clouds.sh
+++ b/
shell/jenkins-configure-clouds.sh
@@
-53,11
+53,11
@@
testversion() {
local current_val="$1" operator="$2" test_value="$3"
awk -vv1="$current_val" -vv2="$test_value" 'BEGIN {
split(v1, a, /\:/);
local current_val="$1" operator="$2" test_value="$3"
awk -vv1="$current_val" -vv2="$test_value" 'BEGIN {
split(v1, a, /\:/);
- if (a[2] == '
$test_value
') {
- exit (a[2] == '
$test_value
') ? 0 : 1
+ if (a[2] == '
"$test_value"
') {
+ exit (a[2] == '
"$test_value"
') ? 0 : 1
}
else {
}
else {
- exit (a[2] '
$operator' '$test_value
') ? 0 : 1
+ exit (a[2] '
"$operator"' '"$test_value"
') ? 0 : 1
}
}'
}
}
}'
}