Skip to content

Commit

Permalink
#1198: Ability to download custom software from mounted filesystem (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
alfeilex authored Aug 31, 2023
1 parent 5f4cdde commit 5a3f416
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This file documents all notable changes to https://github.com/devonfw/ide[devonf

Release with new features and bugfixes:

* https://github.com/devonfw/ide/issues/1198[#1198]: Ability to download custom software from mounted filesystem
* https://github.com/devonfw/ide/issues/1197[#1197]: Integrate Java Mission Control
* https://github.com/devonfw/ide/issues/1320[#1320]: Fix Bug in intellij documenation

Expand Down
2 changes: 1 addition & 1 deletion scripts/src/main/resources/scripts/command/mvn
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function doGetProjectVersion() {
fi
if [[ ! "${maven_project_version}" =~ ^[-_.0-9a-zA-Z]+$ ]]
then
doFail "Cound not determine project version at ${PWD} - got version output:\n${maven_project_version}"
doFail "Could not determine project version at ${PWD} - got version output:\n${maven_project_version}"
fi
echo "${maven_project_version}"
}
Expand Down
7 changes: 6 additions & 1 deletion scripts/src/main/resources/scripts/functions
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,12 @@ function doDownloadInternal() {
then
curl_opt="--silent"
fi
curl ${curl_opt} -fL "${url}" -o "${tmp_file}"
if [ "${url:0:4}" = "http" ] || [ "${url:0:3}" = "ftp" ]
then
curl ${curl_opt} -fL "${url}" -o "${tmp_file}"
else
cp "${url}" "${tmp_file}"
fi
local result=${?}
if [ "${result}" != 0 ]
then
Expand Down

0 comments on commit 5a3f416

Please sign in to comment.