aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-03-09 15:28:34 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-03-09 15:28:34 +0100
commit4d762a7cb648d5572f45a176aecaf34089224a54 (patch)
tree0ddd4f92da11a06e9b2e588a69e776e6f6adefc4
parentf4328df6a85d05a058c9ca6d17e831d7caa7a743 (diff)
downloadsbotools2-4d762a7cb648d5572f45a176aecaf34089224a54.tar.xz
Missed f in regex and package_up.sh
-rwxr-xr-xtools/package_up.sh2
-rwxr-xr-xtools/update_man_pages.sh2
-rwxr-xr-xtools/update_versions.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/package_up.sh b/tools/package_up.sh
index 164b8ff..4565a74 100755
--- a/tools/package_up.sh
+++ b/tools/package_up.sh
@@ -1,7 +1,7 @@
#!/bin/bash
PACKAGE="sbotools"
-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-f]+){0,1}')
FILENAME=$PACKAGE-$VERSION.tar.gz
echo "Making package for $PACKAGE-$VERSION." \
diff --git a/tools/update_man_pages.sh b/tools/update_man_pages.sh
index 9932875..b82ee8a 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@gita-e]+){0,1}')
+version=$(grep '^our $VERSION' SBO-Lib/lib/SBO/Lib.pm | grep -Eo '[0-9]+(\.[0-9RC@gita-f]+){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 c5ff5f4..23f1c76 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@gita-e]+){0,1}')
+old_version=$(grep '^our $VERSION' SBO-Lib/lib/SBO/Lib.pm | grep -Eo '[0-9]+(\.[0-9RC@gita-f]+){0,1}')
tmpfile=$(mktemp /tmp/XXXXXXXXXX)