mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 22:25:32 -04:00
tools: remove angle brackets from get_revision_number output if .git is absent
This commit is contained in:
parent
f7cb039ec2
commit
e2bbac8672
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ GIT_DIR="$1/../.git"
|
|||
GIT_HEAD="${GIT_DIR}/HEAD"
|
||||
|
||||
if [ ! -s "${GIT_HEAD}" ] ; then
|
||||
echo "<unknown revision>"
|
||||
echo "unknown revision"
|
||||
>&2 echo "WARNING: $0 failed to determine the Git commit and no REVISION file available"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue