File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2- echo " Installing Guaka generator. Please wait.."
2+ echo " Installing Guaka generator. Please wait... "
33REPOSITORY=" oarrabi/Guaka-Generator"
44
55DEFAULT_OS=$( uname -s | tr ' [:upper:]' ' [:lower:]' )
@@ -15,7 +15,7 @@ ARCH=${4:-$DEFAULT_ARCH}
1515REPOSITORY_OWNER=$( echo $REPOSITORY | cut -f1 -d/)
1616REPOSITORY_NAME=$( echo $REPOSITORY | cut -f2 -d/)
1717RELEASES_URL=" https://api.github.com/repos/$REPOSITORY_OWNER /$REPOSITORY_NAME /releases"
18- RELEASES_RESPONSE=$( curl -s " $RELEASES_URL " )
18+ RELEASES_RESPONSE=$( curl -sSf " $RELEASES_URL " )
1919if [ $? -ne 0 ]; then
2020 echo " Error determining latest release version."
2121 exit 1
@@ -35,7 +35,7 @@ if [ -f $TEMP_TARBAL ] ; then
3535 rm $TEMP_TARBAL
3636fi
3737
38- curl -sL " $DOWNLOAD_URL " -o $TEMP_TARBAL
38+ curl -sSfL " $DOWNLOAD_URL " -o $TEMP_TARBAL
3939if [ $? -ne 0 ]; then
4040 echo " Error downloading the release tarball."
4141 exit 1
You can’t perform that action at this time.
0 commit comments