Skip to content

Commit

Permalink
Newline and Bashate fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyE123 committed Mar 31, 2018
1 parent 2879a1a commit 01c7c8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions inc/app-git-download-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cut -d '"' -f 4)"

#Sometimes it struggles for some reason so try again!
if [[ -z $OUTPUT ]]; then
echo -e "${RED}URL NOT FOUND AT FIRST ATTEMPT.. RETRYING$ENDCOLOR"
echo -e "${RED}URL NOT FOUND AT FIRST ATTEMPT.. RETRYING$ENDCOLOR"
OUTPUT="$(curl -s "$APPDOWNLOADURL" | \
grep "$APPDOWNLOADEXT" | \
grep browser_download_url | \
Expand All @@ -20,7 +20,7 @@ if [[ -z $OUTPUT ]]; then
fi

if [[ -z $OUTPUT ]]; then
echo -e "${RED}URL NOT FOUND$ENDCOLOR"
echo -e "${RED}URL NOT FOUND$ENDCOLOR"
exit 1
fi

Expand Down
1 change: 0 additions & 1 deletion inc/app-git-latest-release-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ grep tag_name | \
cut -d '"' -f 4 | \
head -n 1 | \
sed s'/[v"]//g')"

0 comments on commit 01c7c8b

Please sign in to comment.