aboutsummaryrefslogtreecommitdiff
path: root/tools/update_man_pages.sh
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-03-09 15:21:59 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-03-09 15:21:59 +0100
commitf4328df6a85d05a058c9ca6d17e831d7caa7a743 (patch)
tree47406c9a30587ac49b0a98773a504565ae36b0dd /tools/update_man_pages.sh
parent2a071a151a82a66d9e6e7a2a787c10fa58eb36de (diff)
downloadsbotools2-f4328df6a85d05a058c9ca6d17e831d7caa7a743.tar.xz
Allow update tools to use git revisions for version strings
Diffstat (limited to 'tools/update_man_pages.sh')
-rwxr-xr-xtools/update_man_pages.sh2
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."