diff options
Diffstat (limited to 'bdb/dist')
-rw-r--r-- | bdb/dist/RELEASE | 9 | ||||
-rw-r--r-- | bdb/dist/s_crypto | 2 | ||||
-rwxr-xr-x | bdb/dist/s_perm | 2 | ||||
-rwxr-xr-x | bdb/dist/s_recover | 2 | ||||
-rw-r--r-- | bdb/dist/s_rpc | 6 | ||||
-rwxr-xr-x | bdb/dist/s_symlink | 1 | ||||
-rwxr-xr-x | bdb/dist/s_tags | 2 |
7 files changed, 19 insertions, 5 deletions
diff --git a/bdb/dist/RELEASE b/bdb/dist/RELEASE index fe9b6667bbe..9054f122cb4 100644 --- a/bdb/dist/RELEASE +++ b/bdb/dist/RELEASE @@ -9,3 +9,12 @@ DB_VERSION_UNIQUE_NAME=`printf "_%d%03d" $DB_VERSION_MAJOR $DB_VERSION_MINOR` DB_RELEASE_DATE=`date "+%B %e, %Y"` DB_VERSION_STRING="Sleepycat Software: Berkeley DB $DB_VERSION: ($DB_RELEASE_DATE)" + +# this file is included by all s_* scripts, so it's the way to apply +# hacks :) + +# bitkeeper doesn't like somebody to mess with permissions! +chmod() +{ + #echo "chmod $1 $2" +} diff --git a/bdb/dist/s_crypto b/bdb/dist/s_crypto index be7e5de0474..f7947cb3e10 100644 --- a/bdb/dist/s_crypto +++ b/bdb/dist/s_crypto @@ -3,6 +3,8 @@ # Remove crypto from the DB source tree. +. ./RELEASE + d=.. t=/tmp/__db_a diff --git a/bdb/dist/s_perm b/bdb/dist/s_perm index 03cc4a35a8a..c35278b8c83 100755 --- a/bdb/dist/s_perm +++ b/bdb/dist/s_perm @@ -4,6 +4,8 @@ d=.. echo 'Updating Berkeley DB source tree permissions...' +. ./RELEASE + run() { echo " $1 ($2)" diff --git a/bdb/dist/s_recover b/bdb/dist/s_recover index 331ae623d3f..869b5bfd363 100755 --- a/bdb/dist/s_recover +++ b/bdb/dist/s_recover @@ -3,6 +3,8 @@ # # Build the automatically generated logging/recovery files. +. ./RELEASE + tmp=/tmp/__db_a loglist=/tmp/__db_b source=/tmp/__db_c diff --git a/bdb/dist/s_rpc b/bdb/dist/s_rpc index 302930068ca..7c478c2b5e1 100644 --- a/bdb/dist/s_rpc +++ b/bdb/dist/s_rpc @@ -25,9 +25,6 @@ server_file=../rpc_server/c/gen_db_server.c stmpl_file=./template/db_server_proc xdr_file=../rpc_server/db_server.x -# -# NOTE: We do NOT want to remove proc_file. It is what we apply $sed_file -# to, but we do not want to remove it, it does not get built in place. rm -f $client_file \ $ctmpl_file \ $header_file \ @@ -92,8 +89,7 @@ ENDOFSEDTEXT sed -f $t $rpcsvc_file > ${rpcsvc_file}.new mv ${rpcsvc_file}.new $rpcsvc_file -sed -f $sed_file $proc_file > ${proc_file}.new -mv ${proc_file}.new $proc_file +sed -f $sed_file ${proc_file}.in > ${proc_file} # Run rpcgen files through sed to add HAVE_RPC ifdef and appropriate # includes. diff --git a/bdb/dist/s_symlink b/bdb/dist/s_symlink index e69bb57dc46..ee80a220a83 100755 --- a/bdb/dist/s_symlink +++ b/bdb/dist/s_symlink @@ -2,6 +2,7 @@ # $Id: s_symlink,v 1.28 2002/08/18 21:15:45 bostic Exp $ echo 'Creating Berkeley DB source tree symbolic links...' +. ./RELEASE build() { diff --git a/bdb/dist/s_tags b/bdb/dist/s_tags index d5037896443..18b6025aa86 100755 --- a/bdb/dist/s_tags +++ b/bdb/dist/s_tags @@ -3,6 +3,8 @@ # # Build tags files. +. ./RELEASE + files="../dbinc/*.h \ ../dbinc/*.in \ ../btree/*.[ch] \ |