summaryrefslogtreecommitdiffstats
path: root/src/kadmin/testing/scripts/start_servers
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1996-10-03 17:26:08 +0000
committerEzra Peisach <epeisach@mit.edu>1996-10-03 17:26:08 +0000
commit681fb9a54e8caeebbcda223617c4844e6a9ec799 (patch)
tree4939faac0a1035be675bd33008e8713f6bb0119b /src/kadmin/testing/scripts/start_servers
parent326f8b7ea5508bc3eda6f26ec2db5cf81130b258 (diff)
downloadkrb5-681fb9a54e8caeebbcda223617c4844e6a9ec799.tar.gz
krb5-681fb9a54e8caeebbcda223617c4844e6a9ec799.tar.xz
krb5-681fb9a54e8caeebbcda223617c4844e6a9ec799.zip
* env-setup.shin: Renamed env-setup.sh for autoconf use
* init_db, start_servers, start_servers_local, stop_servers: Invoke scripts from source directory or build tree as needed. * configure.in, Makefile.in: generate env-setup.sh with proper paths already. (env-setup.shin was created - retaining the old history logs) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9138 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/testing/scripts/start_servers')
-rw-r--r--src/kadmin/testing/scripts/start_servers7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/kadmin/testing/scripts/start_servers b/src/kadmin/testing/scripts/start_servers
index dc958d62c..26fef9150 100644
--- a/src/kadmin/testing/scripts/start_servers
+++ b/src/kadmin/testing/scripts/start_servers
@@ -10,9 +10,10 @@
# TOP is used.
DUMMY=${TESTDIR=$TOP/testing}
-DUMMY=${SAVE_FILES=$TESTDIR/scripts/save_files.sh}
+DUMMY=${STESTDIR=$STOP/testing}
+DUMMY=${SAVE_FILES=$STESTDIR/scripts/save_files.sh}
DUMMY=${FIX_CONF_FILES=$TESTDIR/scripts/fixup-conf-files.pl}
-DUMMY=${START_SERVERS_LOCAL=$TESTDIR/scripts/start_servers_local}
+DUMMY=${START_SERVERS_LOCAL=$STESTDIR/scripts/start_servers_local}
# This'll be wrong sometimes
DUMMY=${RSH_CMD=rsh}
@@ -43,7 +44,7 @@ if [ $local = 0 ]; then
# Fix up the local krb5.conf to point to the remote
sed -e "s/__REALM__/$REALM/g" -e "s#__K5ROOT__#$K5ROOT#g" \
-e "s/__KDCHOST__/$hostname/g" \
- < $TESTDIR/proto/krb5.conf.proto > $K5ROOT/krb5.conf
+ < $STESTDIR/proto/krb5.conf.proto > $K5ROOT/krb5.conf
# Using /usr/ucb/rsh and getting rid of "-k $REALM" until we get
# around to fixing the fact that Kerberos rsh doesn't strip out "-k