[rtems-release commit] Use the correct version in the built documentation.

Chris Johns chrisj at rtems.org
Tue Apr 28 05:17:55 UTC 2020


Module:    rtems-release
Branch:    master
Commit:    158da70322fb3c4d8bc0f444e6bfd07fb2832495
Changeset: http://git.rtems.org/rtems-release/commit/?id=158da70322fb3c4d8bc0f444e6bfd07fb2832495

Author:    Chris Johns <chrisj at rtems.org>
Date:      Tue Apr 28 15:17:11 2020 +1000

Use the correct version in the built documentation.

Closes #3810

---

 rtems-release-docs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtems-release-docs b/rtems-release-docs
index f23e91d..01b6953 100755
--- a/rtems-release-docs
+++ b/rtems-release-docs
@@ -90,7 +90,7 @@ cd ${prefix}
  # This is a hack until I add support for the VERSION file created below.
  #
  echo "Creating VERSION: ${release}"
- if [ ${version} -le 5 ]; then
+ if [ ${version} -lt 5 ]; then
    cat wscript | \
     sed -e "s/^version[[:space:]].*=.*$/version = '${release}'/g" > wscript.tmp
    rm -f wscript
@@ -107,7 +107,7 @@ cd ${prefix}
    *)  d=${d}th ;;
   esac
   now=$(date +"%d${d} %B %Y")
-  echo "date = %{now}" >> VERSION
+  echo "date = ${now}" >> VERSION
  fi
  cd ..
 



More information about the vc mailing list