diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-03-09 15:21:59 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-03-09 15:21:59 +0100 |
commit | f4328df6a85d05a058c9ca6d17e831d7caa7a743 (patch) | |
tree | 47406c9a30587ac49b0a98773a504565ae36b0dd /tools/update_man_pages.sh | |
parent | 2a071a151a82a66d9e6e7a2a787c10fa58eb36de (diff) | |
download | sbotools2-f4328df6a85d05a058c9ca6d17e831d7caa7a743.tar.xz |
Allow update tools to use git revisions for version strings
Diffstat (limited to 'tools/update_man_pages.sh')
-rwxr-xr-x | tools/update_man_pages.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/update_man_pages.sh b/tools/update_man_pages.sh index 5a7115d..9932875 100755 --- a/tools/update_man_pages.sh +++ b/tools/update_man_pages.sh @@ -23,7 +23,7 @@ if [[ "$1" == "-g" ]]; then shift fi -version=$(grep '^our $VERSION' SBO-Lib/lib/SBO/Lib.pm | grep -Eo '[0-9]+(\.[0-9RC]+){0,1}') +version=$(grep '^our $VERSION' SBO-Lib/lib/SBO/Lib.pm | grep -Eo '[0-9]+(\.[0-9RC@gita-e]+){0,1}') if ! [[ -d "./man1" ]]; then echo "you do not seem to be at the right place to run this." |