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
1 changed file:
Changes:
| ... | ... | @@ -41,7 +41,7 @@ else |
| 41 | 41 | # we have to remove everything before the first slash which
|
| 42 | 42 | # contains things like "tag/" or "head/".
|
| 43 | 43 | GIT_DESC="`git describe --all --dirty || git describe 2>/dev/null`"
|
| 44 | - GIT_HASH="`echo ${GIT_DESC} | sed 's;^[^/]\+/;;' 2>/dev/null`"
|
|
| 44 | + GIT_HASH="`echo ${GIT_DESC} | sed 's;^[^/]*/;;' 2>/dev/null`"
|
|
| 45 | 45 | BRANCH="`git rev-parse --abbrev-ref HEAD`*"
|
| 46 | 46 | |
| 47 | 47 | case "$GIT_HASH" in
|