File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ To download latest version of utPLSQL from github on both Unix/Linux as well as
9
9
``` bash
10
10
#! /bin/bash
11
11
# Get the url to latest release "zip" file
12
- UTPLSQL_DOWNLOAD_URL=$( curl --silent https://api.github.com/repos/utPLSQL/utPLSQL/releases/latest | awk ' /browser_download_url/ { print $2 }' | grep " .zip" | sed ' s/"//g' )
12
+ UTPLSQL_DOWNLOAD_URL=$( curl --silent https://api.github.com/repos/utPLSQL/utPLSQL/releases/latest | awk ' /browser_download_url/ { print $2 }' | grep " .zip\" " | sed ' s/"//g' )
13
13
# Download the latest release "zip" file
14
14
curl -Lk " ${UTPLSQL_DOWNLOAD_URL} " -o utPLSQL.zip
15
15
# Extract downloaded "zip" file
@@ -19,7 +19,7 @@ unzip -q utPLSQL.zip
19
19
You may download with a one-liner if that is more convenient.
20
20
``` bash
21
21
#! /bin/bash
22
- curl -LOk $( curl --silent https://api.github.com/repos/utPLSQL/utPLSQL/releases/latest | awk ' /browser_download_url/ { print $2 }' | grep " .zip" | sed ' s/"//g' )
22
+ curl -LOk $( curl --silent https://api.github.com/repos/utPLSQL/utPLSQL/releases/latest | awk ' /browser_download_url/ { print $2 }' | grep " .zip\" " | sed ' s/"//g' )
23
23
```
24
24
25
25
## Windows
You can’t perform that action at this time.
0 commit comments