From f4328df6a85d05a058c9ca6d17e831d7caa7a743 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Wed, 9 Mar 2016 15:21:59 +0100 Subject: Allow update tools to use git revisions for version strings --- tools/update_man_pages.sh | 2 +- tools/update_versions.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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." diff --git a/tools/update_versions.sh b/tools/update_versions.sh index b17bba6..c5ff5f4 100755 --- a/tools/update_versions.sh +++ b/tools/update_versions.sh @@ -34,7 +34,7 @@ update=" slackbuild/sbotools/sbotools.info " -old_version=$(grep '^our $VERSION' SBO-Lib/lib/SBO/Lib.pm | grep -Eo '[0-9]+(\.[0-9RC]+){0,1}') +old_version=$(grep '^our $VERSION' SBO-Lib/lib/SBO/Lib.pm | grep -Eo '[0-9]+(\.[0-9RC@gita-e]+){0,1}') tmpfile=$(mktemp /tmp/XXXXXXXXXX) -- cgit v1.2.3