diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/kadmin/testing/scripts/ChangeLog | 5 | ||||
-rw-r--r-- | src/kadmin/testing/scripts/init_db | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/kadmin/testing/scripts/ChangeLog b/src/kadmin/testing/scripts/ChangeLog index 852bc20508..73dcd5a80e 100644 --- a/src/kadmin/testing/scripts/ChangeLog +++ b/src/kadmin/testing/scripts/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 3 15:28:53 1996 Barry Jaspan <bjaspan@mit.edu> + + * init_db: be verbose when $SRVTCL doesn't exist, instead of just + failing [krb5-admin/245] + Thu Nov 14 15:28:16 1996 Barry Jaspan <bjaspan@mit.edu> * env-setup.shin, init_db, save_files.sh, start_servers, diff --git a/src/kadmin/testing/scripts/init_db b/src/kadmin/testing/scripts/init_db index e321c76977..aac4736774 100644 --- a/src/kadmin/testing/scripts/init_db +++ b/src/kadmin/testing/scripts/init_db @@ -33,6 +33,17 @@ DUMMY=${LOCAL_MAKE_KEYTAB=$TESTDIR/scripts/make-host-keytab.pl} PATH=$ADMIN:$BIN:$ETC:$SBIN:$PATH; export PATH +if [ ! -x $SRVTCL ]; then + echo "+++" 1>&2 + echo "+++ Error! $SRVTCL does not exist!" 1>&2 + echo "+++ It was probably not compiled because TCL was not available. If you" 1>&2 + echo "+++ now have TCL installed, cd into that directory, re-run configure" 1>&2 + echo "+++ with the --with-tcl option, and then re-run make." 1>&2 + echo "+++" 1>&2 + + exit 1 +fi + rm -rf $K5ROOT/* if [ -d $K5ROOT ]; then true |