Raymond Toy pushed to branch issue-464-lisp-version-uses-branch-name at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • bin/git-version.sh
    ... ... @@ -55,7 +55,7 @@ else
    55 55
     	# The hash looks like the current branch with possibly more
    
    56 56
     	# stuff at the end.  Use the hash as the version.
    
    57 57
     	DEFAULT_VERSION="${GIT_HASH}"
    
    58
    -    elif [ `expr "${GIT_HASH}" : "[0-9]*"` != 0]; then
    
    58
    +    elif [ `expr "${GIT_HASH}" : "[0-9]*"` != 0 ]; then
    
    59 59
     	# Assuming this is CI which seems to produce a githash like
    
    60 60
     	# "pipeline/<digits>".
    
    61 61
     	DEFAULT_VERSION="${GIT_HASH}"