[ofbiz-framework] branch trunk updated: Fixed: Used correct syntax to conctenate bash variable and string such that wgent command runs properly.(OFBIZ-12066)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Fixed: Used correct syntax to conctenate bash variable and string such that wgent command runs properly.(OFBIZ-12066)

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

grv pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new dcd85b3  Fixed: Used correct syntax to conctenate bash variable and string such that wgent command runs properly.(OFBIZ-12066)
dcd85b3 is described below

commit dcd85b3d333c983e74b26e2ecf6d70469114a676
Author: Girish Vasmatkar <[hidden email]>
AuthorDate: Sat Nov 28 14:59:56 2020 +0530

    Fixed: Used correct syntax to conctenate bash variable and string such that wgent command runs properly.(OFBIZ-12066)
---
 gradle/init-gradle-wrapper.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gradle/init-gradle-wrapper.sh b/gradle/init-gradle-wrapper.sh
index 84c4cdf..2470e62 100755
--- a/gradle/init-gradle-wrapper.sh
+++ b/gradle/init-gradle-wrapper.sh
@@ -49,7 +49,7 @@ downloadFile() {
        fi
    elif [ -n "$(whereIsBinary wget)" ]; then
        GET_CMD="wget -q -O $GRADLE_WRAPPER_OFBIZ_PATH/$1 --server-response $2/$1";
-       GET_CMD="$GET_CMD"' 2>&1 > /dev/null | grep "HTTP/.* 200"';
+       GET_CMD="$GET_CMD 2>&1 > /dev/null | grep 'HTTP/.* 200'";
        if [ -n "$($GET_CMD)" ]; then
            return 0;
        fi