Skip to content

Commit

Permalink
bootstrap: Use 'sage -package update' to update the configure tarball…
Browse files Browse the repository at this point in the history
… version/checksums
  • Loading branch information
Matthias Koeppe committed Feb 25, 2024
1 parent 9112872 commit 8ae29ca
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export PATH="$SAGE_ROOT/build/bin:$PATH"

properties=$(sage-package properties --format=shell configure) || echo >&2 "Error: looking up version of 'configure' failed"
eval $properties
PKG=$path_configure
MAKE="${MAKE:-make}"
CONFVERSION=$version_with_patchlevel_configure

Expand Down Expand Up @@ -228,16 +227,8 @@ save () {
src/requirements.txt \
src/setup.cfg

# Update version
echo "$NEWCONFVERSION" >$PKG/package-version.txt

# Compute checksum
if [ "${BOOTSTRAP_QUIET}" = "no" ]; then
sage-package fix-checksum configure
else
# Hide the "Updating checksum..." message
sage-package fix-checksum configure > /dev/null
fi
# Update version; this re-computes the checksum
sage-package update configure "$NEWCONFVERSION"
}


Expand Down

0 comments on commit 8ae29ca

Please sign in to comment.