We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68cc0e4 commit 42717a7Copy full SHA for 42717a7
build/mvn
@@ -76,7 +76,7 @@ install_mvn() {
76
fi
77
# See simple version normalization: http://stackoverflow.com/questions/16989598/bash-comparing-version-numbers
78
function version { echo "$@" | awk -F. '{ printf("%03d%03d%03d\n", $1,$2,$3); }'; }
79
- if [ $(version $MVN_DETECTED_VERSION) -eq $(version $MVN_VERSION) ]; then
+ if [ $(version $MVN_DETECTED_VERSION) -ne $(version $MVN_VERSION) ]; then
80
local APACHE_MIRROR=${APACHE_MIRROR:-'https://archive.apache.org/dist/'}
81
82
install_app \
0 commit comments