Skip to content

Commit

Permalink
tools/getversion.sh: fix tabs vs spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ntamas committed Aug 3, 2020
1 parent 95eb55b commit c402d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/getversion.sh
Expand Up @@ -4,7 +4,7 @@ script_dir=$( dirname "${BASH_SOURCE[0]}" )
if [ ! -d $script_dir/../.git ]; then
# Not a git repo, so try to infer the version number from the
# changelog
cat CHANGELOG.md | sed -ne 's/^## \[\([0-9].*\)\].*$/\1/p' | head -1
cat CHANGELOG.md | sed -ne 's/^## \[\([0-9].*\)\].*$/\1/p' | head -1
exit 1
fi

Expand Down

0 comments on commit c402d57

Please sign in to comment.