Skip to content

Commit

Permalink
Fixes for shell execution (#68)
Browse files Browse the repository at this point in the history
Signed-off-by: sandhi <sagarwal@progress.com>
  • Loading branch information
sandhi18 authored Oct 15, 2024
1 parent a71bae6 commit 28da9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/install.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ modify_response() {
url=$(echo $1 | awk -F "," '{print $3}' | awk -F "\"" '{print $4}')
version=$(echo $1 | awk -F "," '{print $4}' | awk -F "\"" '{print $4}')
sha256=$(echo $1 | awk -F "," '{print $2}' | awk -F "\"" '{print $4}')
echo -e "sha256 $sha256\nurl $url\nversion $version" > "$2"
printf "sha256 $sha256\nurl $url\nversion $version" > "$2"
}

# do_curl URL FILENAME
Expand Down

0 comments on commit 28da9b5

Please sign in to comment.