Skip to content

Commit

Permalink
Corrected the automatic download link for the Kortex API
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvannobel committed Jan 7, 2020
1 parent cb95593 commit 1d2c4a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kortex_api/scripts/download_kortex_api.bash
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@ fi

# Download the API from Google Drive
echo "Downloading the Kortex API from the Web..."
jfrog rt dl --flat generic-local-stable/API/2.1.0/kortex_api_2.1.0-3.zip ./
wget -q -O kortex_api.zip https://artifactory.kinovaapps.com/artifactory/generic-local-public/kortex/API/2.1.0/kortex_api_2.1.0.zip
RESULT=$?
if [ "${RESULT}" -ne 0 ]; then
echo "ERROR while fetching the kortex api. code = ${RESULT}"
exit $?
fi

# Unzip it
mv kortex_api_2.1.0-3.zip kortex_api.zip
unzip -d kortex_api kortex_api.zip > /dev/null
RESULT=$?
if [ "${RESULT}" -ne 0 ]; then
Expand Down

0 comments on commit 1d2c4a7

Please sign in to comment.