summaryrefslogtreecommitdiff
path: root/bdb/dist
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2002-11-11 00:08:42 +0100
committerunknown <serg@serg.mysql.com>2002-11-11 00:08:42 +0100
commit9fb5cda3cd7633076b85977f59482afae09cc2c9 (patch)
tree44e79b5af6f6d89587d43bdde9c3223f7b817070 /bdb/dist
parent2eb08da937985d044b48f5193437b15b6c62285d (diff)
downloadmariadb-git-9fb5cda3cd7633076b85977f59482afae09cc2c9.tar.gz
disable chmod in bdb scripts - bk doesn't like somebody messing with permissions
delete auto-generated files remove in-place editing BitKeeper/deleted/.del-ex_apprec_auto.c~6e4c8882b1f0fe9d: Delete: bdb/examples_c/ex_apprec/ex_apprec_auto.c BitKeeper/deleted/.del-ex_apprec_auto.h~d01f1e472bf1b59f: Delete: bdb/examples_c/ex_apprec/ex_apprec_auto.h BitKeeper/deleted/.del-ex_apprec_template~4157a705d73c1209: Delete: bdb/examples_c/ex_apprec/ex_apprec_template bdb/rpc_server/c/db_server_proc.c.in: Rename: bdb/rpc_server/c/db_server_proc.c -> bdb/rpc_server/c/db_server_proc.c.in BitKeeper/deleted/.del-rpc_defs.in~bfc9820a618d5926: Delete: bdb/dbinc_auto/rpc_defs.in BitKeeper/deleted/.del-db_server.h~1c77cc0d19f3ecf: Delete: bdb/dbinc_auto/db_server.h BitKeeper/deleted/.del-db_server_proc.sed~94a351b3e31c0ad0: Delete: bdb/rpc_server/c/db_server_proc.sed BitKeeper/deleted/.del-db_server_svc.c~66ae3c56737e07ab: Delete: bdb/rpc_server/c/db_server_svc.c BitKeeper/deleted/.del-db_server_xdr.c~518231ed78b9cdcf: Delete: bdb/rpc_server/c/db_server_xdr.c BitKeeper/deleted/.del-gen_db_server.c~51935e227c7c23ac: Delete: bdb/rpc_server/c/gen_db_server.c bdb/dist/RELEASE: disable chmod in bdb scripts - bk doesn't like somebody messing with permissions bdb/dist/s_crypto: disable chmod in bdb scripts - bk doesn't like somebody messing with permissions bdb/dist/s_perm: disable chmod in bdb scripts - bk doesn't like somebody messing with permissions bdb/dist/s_recover: disable chmod in bdb scripts - bk doesn't like somebody messing with permissions bdb/dist/s_rpc: NEVER modify files in-place!!! bdb/dist/s_symlink: disable chmod in bdb scripts - bk doesn't like somebody messing with permissions bdb/dist/s_tags: disable chmod in bdb scripts - bk doesn't like somebody messing with permissions
Diffstat (limited to 'bdb/dist')
-rw-r--r--bdb/dist/RELEASE9
-rw-r--r--bdb/dist/s_crypto2
-rwxr-xr-xbdb/dist/s_perm2
-rwxr-xr-xbdb/dist/s_recover2
-rw-r--r--bdb/dist/s_rpc6
-rwxr-xr-xbdb/dist/s_symlink1
-rwxr-xr-xbdb/dist/s_tags2
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] \