[ofbiz-framework] branch release17.12 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 release17.12 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 release17.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


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

commit cc8ee481546b72c02c8f12ec7b01ae93c94ac210
Author: Girish Vasmatkar <[hidden email]>
AuthorDate: Sat Nov 28 15:05:26 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 88399f6..18602b5 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