Skip to content

Commit

Permalink
Updated GNU units from 2.21 to 2.23, changed upstream fetch URL.
Browse files Browse the repository at this point in the history
Issue 1327: The base URL for downloading this package was changed
to be a mirror-selector URL, which will find the best mirror to
use for downloading this tarball,

  https://ftpmirror.gnu.org/

The version of "units" was also updated from 2.21 -> 2.23.

Resolves #1327.
 Resoloves #1344 (PR).
  • Loading branch information
wwlwpd committed Jul 2, 2024
1 parent ddc4a3c commit 6f776a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloud/general/init-gnu-units.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ if [ "$COMPILER" == "clean" ]; then
exit
fi

UNITS_VERSION=2.21
UNITS_VERSION=2.23
UNITS_DIR=units-${UNITS_VERSION}
UNITS_TGZ=${UNITS_DIR}.tar.gz
cd $_ASGS_TMP

if [ ! -e ${UNITS_TGZ} ]; then
wget --no-check-certificate https://ftp.gnu.org/gnu/units/${UNITS_TGZ}
wget --no-check-certificate https://ftpmirror.gnu.org/units/${UNITS_TGZ}
fi

rm -rf ./$UNITS_DIR 2> /dev/null
Expand Down

0 comments on commit 6f776a7

Please sign in to comment.