We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tr
1 parent bee542e commit a5ce017Copy full SHA for a5ce017
get.sh
@@ -1,9 +1,9 @@
1
#!/bin/env bash
2
3
-JSON=`curl -s 'https://api.github.com/repos/lautarodragan/jolteon/releases/latest'`
+# JSON=`curl -s 'https://api.github.com/repos/lautarodragan/jolteon/releases/latest'`
4
5
# URLS=`echo "$JSON" | jq -r ".assets[].browser_download_url"`
6
-URLS=`curl -s 'https://api.github.com/repos/lautarodragan/jolteon/releases/latest' | grep "browser_download_url" | cut -d: -f2- | tr -d ' ' | tr -d '"'`
+URLS=`curl -s 'https://api.github.com/repos/lautarodragan/jolteon/releases/latest' | grep "browser_download_url" | cut -d: -f2- | tr -d ' "'`
7
8
DOWNLOAD_URL=""
9
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
0 commit comments