Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cdc7d4 commit b77ae3cCopy full SHA for b77ae3c
1 file changed
docs/userguide/running-unit-tests.md
@@ -24,7 +24,7 @@ You may download the latest release of the command line client from [here](https
24
```bash
25
#!/bin/bash
26
# Get the url to latest release "zip" file
27
-DOWNLOAD_URL=$(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL-cli/releases/latest | awk '/zipball_url/ { print $2 }' | sed -r 's/"|,//g')
+DOWNLOAD_URL=$(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL-cli/releases/latest | awk '/browser_download_url/ { print $2 }' | grep ".zip\"" | sed 's/"//g')
28
# Download the latest release "zip" file
29
curl -Lk "${DOWNLOAD_URL}" -o utplsql-cli.zip
30
# Extract downloaded "zip" file
0 commit comments