sbotools2

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

commit b5062ccc4cbca8cf0f89e655cedc0884f597a3a1
parent 04bfc09c7c1622ce3a534ea6655afb024790591c
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Fri, 23 Sep 2016 15:09:10 +0200

tools/update_versions.sh: also update SBO-Lib/README

Diffstat:
Mtools/update_versions.sh | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tools/update_versions.sh b/tools/update_versions.sh @@ -39,7 +39,8 @@ update_perl=" SBO-Lib/lib/SBO/Lib/Download.pm SBO-Lib/lib/SBO/Lib/Build.pm " -update_slackbuild=" +update_other=" + SBO-Lib/README slackbuild/sbotools/sbotools.SlackBuild slackbuild/sbotools/sbotools.info " @@ -48,7 +49,7 @@ old_version=$(grep '^our $VERSION' SBO-Lib/lib/SBO/Lib.pm | grep -Eo '[0-9]+(\.[ tmpfile=$(mktemp /tmp/XXXXXXXXXX) -for i in $update_slackbuild; do +for i in $update_other; do cat $i | sed "s/$old_version/$version/g" > $tmpfile if [[ "$?" == "0" ]]; then mv $tmpfile $i