Skip to content

Commit

Permalink
Use shell comparsion (#1627)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyGillespie authored Aug 1, 2024
1 parent 8733899 commit f140b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_jmusicbot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ DOWNLOAD=true
LOOP=true

download() {
if [ $DOWNLOAD == true ]; then
if [ $DOWNLOAD = true ]; then
URL=$(curl -s https://api.github.com/repos/jagrosh/MusicBot/releases/latest \
| grep -i "browser_download_url.*\.jar" \
| sed 's/.*\(http.*\)"/\1/')
Expand Down

0 comments on commit f140b41

Please sign in to comment.