Skip to content

Commit

Permalink
download github file by wget.
Browse files Browse the repository at this point in the history
  • Loading branch information
Readon committed Oct 24, 2023
1 parent 5b31ade commit 5bdd506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make-msys2-installer
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ EOF
)

install_custom_packages(){
_url="https://github.com/Readon/MINGW-SpinalHDL/releases/download/v0.4.9/"
_url="https://github.com/Readon/MINGW-SpinalHDL/releases/download/v0.4.9"
_cwd="$(pwd)"
_tmp="${_cwd}/tmp"
if [ ! -d "${_tmp}" ]; then
Expand All @@ -42,7 +42,7 @@ install_custom_packages(){
cd ${_tmp}
for pkg in ${_custom_packages}; do
if [ ! -f "${pkg}" ]; then
curl -O "${_url}/${pkg}"
wget "${_url}/${pkg}"
fi
done
pacman -U --noconfirm --root "${_newmsys}" ${MINGW_PACKAGE_PREFIX}-*-any.pkg.tar.*
Expand Down

0 comments on commit 5bdd506

Please sign in to comment.