sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit f4328df6a85d05a058c9ca6d17e831d7caa7a743
parent 2a071a151a82a66d9e6e7a2a787c10fa58eb36de
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Wed,  9 Mar 2016 15:21:59 +0100

Allow update tools to use git revisions for version strings

Diffstat:
Mtools/update_man_pages.sh | 2+-
Mtools/update_versions.sh | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 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 @@ -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)