File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
other/installation-script Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ initDownloadTool() {
70
70
echo " Using $DOWNLOAD_TOOL as download tool"
71
71
}
72
72
73
+ # checkLatestVersion() sets the CHECKLATESTVERSION_TAG variable to the latest version
73
74
checkLatestVersion () {
74
75
# Use the GitHub releases webpage to find the latest version for this project
75
76
# so we don't get rate-limited.
@@ -84,7 +85,6 @@ checkLatestVersion() {
84
85
echo " Cannot determine latest tag."
85
86
exit 1
86
87
fi
87
- eval " $1 ='$CHECKLATESTVERSION_TAG '"
88
88
}
89
89
90
90
getFile () {
@@ -101,7 +101,8 @@ getFile() {
101
101
102
102
downloadFile () {
103
103
if [ -z " $1 " ]; then
104
- checkLatestVersion TAG
104
+ checkLatestVersion
105
+ TAG=" $CHECKLATESTVERSION_TAG "
105
106
else
106
107
TAG=$1
107
108
fi
You can’t perform that action at this time.
0 commit comments