diff options
Diffstat (limited to 'bdb/dist/s_readme')
-rwxr-xr-x | bdb/dist/s_readme | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/bdb/dist/s_readme b/bdb/dist/s_readme index 9ff8a69bc88..229a152b8a9 100755 --- a/bdb/dist/s_readme +++ b/bdb/dist/s_readme @@ -1,18 +1,23 @@ #!/bin/sh - -# $Id: s_readme,v 1.2 2000/01/27 21:42:18 bostic Exp $ +# $Id: s_readme,v 1.6 2002/02/14 02:50:26 bostic Exp $ # # Build the README. +d=.. + +t=/tmp/__t +trap 'rm -f $t; exit 0' 0 1 2 3 13 15 + . RELEASE +cat << END_OF_README>$t +$DB_VERSION_STRING + +This is version $DB_VERSION_MAJOR.$DB_VERSION_MINOR.$DB_VERSION_PATCH of Berkeley DB from Sleepycat Software. To view +the release and installation documentation, load the distribution file +docs/index.html into your web browser. +END_OF_README + f=../README -echo "Building $f" -rm -f $f -(echo "$DB_VERSION_STRING" && - echo "" && - echo -n "This is version " && - echo -n "$DB_VERSION_MAJOR.$DB_VERSION_MINOR.$DB_VERSION_PATCH" && - echo " of Berkeley DB from Sleepycat Software. To view" && - echo "the release and installation documentation, load the distribution file" && - echo "docs/index.html into your web browser.") > $f -chmod 444 $f +cmp $t $f > /dev/null 2>&1 || + (echo "Building $f" && rm -f $f && cp $t $f && chmod 444 $f) |