[Git][cmucl/cmucl][issue-383-build-can-specify-core-dir] Clean up code around git-version.sh

Raymond Toy pushed to branch issue-383-build-can-specify-core-dir at cmucl / cmucl Commits: 4871e8e7 by Raymond Toy at 2025-04-30T09:56:15-07:00 Clean up code around git-version.sh Update comments and remove some debugging prints we left in. Remove `DEFAULT_VERSION` and such because we don't use it anywhere anymore. - - - - - 1 changed file: - bin/build.sh Changes: ===================================== bin/build.sh ===================================== @@ -179,18 +179,10 @@ do esac done -# Set default version and generate lisp/cmucl-version.h -set -x -echo VERSION = $VERSION -echo GIT_HASH = $GIT_HASH -DEFAULT_VERSION="`bin/git-version.sh ${VERSION:+ -v ${VERSION}}`" -# Export DEFAULT_VERSION -export DEFAULT_VERISON -echo DEFAULT_VERSION = $DEFAULT_VERSION - +# Generate lisp/cmucl-version.h with the appropriate version. The -v +# option (if given) overrides the default that git-describe.sh uses. bin/git-version.sh -f ${VERSION:+ -v ${VERSION}} > src/lisp/cmucl-version.h - # If -b not given, try to derive one instead of just using "build". if [ -z "$BASE" ]; then case `uname -s` in View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/4871e8e733bc4daa655143f5... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/4871e8e733bc4daa655143f5... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)