Skip to content

Commit

Permalink
devonfw#453 use dodownload
Browse files Browse the repository at this point in the history
  • Loading branch information
tobka777 committed Sep 16, 2021
1 parent 60a66c6 commit 3c30abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/src/main/resources/scripts/command/intellij
Expand Up @@ -108,7 +108,7 @@ function doAddPlugin() {
filename=$(curl -sI "${download_url}" | grep -o -E 'location:.*$' | sed -e 's/location://')
filename="${filename##*/}"
filename="${filename%%\?*}"
(cd "${download_dir}" && curl -OJ --location-trusted "${download_url}")
doDownload "${download_url}" "${filename}" "${download_dir}"
if [ "${filename##*.}" = "zip" ]
then
local extract_name=${filename%.*}
Expand Down

0 comments on commit 3c30abf

Please sign in to comment.