Raymond Toy pushed to branch issue-464-lisp-version-uses-branch-name at cmucl / cmucl Commits: 377248f2 by Raymond Toy at 2026-01-16T08:15:20-08:00 Update sed regexp for macos Use "*" instead of "+" in sed regex because macos sed doesn't recognize "+". - - - - - 1 changed file: - bin/git-version.sh Changes: ===================================== bin/git-version.sh ===================================== @@ -41,7 +41,7 @@ else # 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_HASH="`echo ${GIT_DESC} | sed 's;^[^/]\+/;;' 2>/dev/null`" + GIT_HASH="`echo ${GIT_DESC} | sed 's;^[^/]*/;;' 2>/dev/null`" BRANCH="`git rev-parse --abbrev-ref HEAD`*" case "$GIT_HASH" in View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/377248f29a553f46b5f64e85... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/377248f29a553f46b5f64e85... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)