Raymond Toy pushed to branch issue-464-lisp-version-uses-branch-name at cmucl / cmucl Commits: 6dac9de2 by Raymond Toy at 2026-01-15T18:18:23-08:00 Replace backtick with single quote; add some double quotes We aren't trying to run a command so use single quotes instead of backticks in the comment. Add some double quotes around shell var. - - - - - 1 changed file: - bin/git-version.sh Changes: ===================================== bin/git-version.sh ===================================== @@ -8,7 +8,7 @@ git-version.sh [-hfv] -f The version is printed as a C file #define expression. Otherwise, the version is just printed to stdout - -v Use this as the version instead of using `git describe`, which + -v Use this as the version instead of using 'git describe', which is the default Determine the version of cmucl. By @@ -40,7 +40,7 @@ else # name as appropriate. This is much more informative. However, # we have to remove everything before the first slash which # contains things like "tag/" or "head/". - GIT_DESC="`(git describe --all --dirty || git describe 2>/dev/null)`" + GIT_DESC="`git describe --all --dirty || git describe 2>/dev/null`" GIT_HASH="`echo ${GIT_DESC} | sed 's;^[^/]\+/;;' 2>/dev/null`" BRANCH="`git rev-parse --abbrev-ref HEAD`*" @@ -75,7 +75,7 @@ else fi if [ -z "$FILE" ]; then - echo $DEFAULT_VERSION + echo "$DEFAULT_VERSION" else cat <<EOF /* View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/6dac9de2d8325668589140db... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/6dac9de2d8325668589140db... You're receiving this email because of your account on gitlab.common-lisp.net.