You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2020/05/10 11:37:26 UTC

[maven] branch MNG-5937 updated: adjust script

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch MNG-5937
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/MNG-5937 by this push:
     new eda9194  adjust script
eda9194 is described below

commit eda9194f86afe721c42968b76b2967a86b69108c
Author: rfscholte <rf...@apache.org>
AuthorDate: Sun May 10 13:37:16 2020 +0200

    adjust script
---
 maven-wrapper/src/assembly/shared/mvnw | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maven-wrapper/src/assembly/shared/mvnw b/maven-wrapper/src/assembly/shared/mvnw
index b0abad0..a5308b3 100755
--- a/maven-wrapper/src/assembly/shared/mvnw
+++ b/maven-wrapper/src/assembly/shared/mvnw
@@ -259,7 +259,7 @@ else
       wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
     fi
 
-    if [ ${jarUrl:0:4} != 'file' ] && [ command -v wget > /dev/null ]; then
+    if [ ${jarUrl:0:4} != 'file' ] && command -v wget > /dev/null; then
         if [ "$MVNW_VERBOSE" = true ]; then
           echo "Found wget ... using wget"
         fi