# # patch "ChangeLog" # from [3ba13ceff7fccdefdab69f8203028c43fd199b83] # to [be0d441bb21ee5a02a72eb1aa83f5bfebb3816e3] # # patch "contrib/monoprof.sh" # from [31ffb28c2699d07a11388fcc62e3790e23270b67] # to [5f6668eab945bebe735c337d3f7d52960455904a] # ======================================================================== --- ChangeLog 3ba13ceff7fccdefdab69f8203028c43fd199b83 +++ ChangeLog be0d441bb21ee5a02a72eb1aa83f5bfebb3816e3 @@ -1,3 +1,8 @@ +2005-08-19 Nathaniel Smith + + * contrib/monoprof.sh: Give a sensible error message if $DATADIR + doesn't exist. + 2005-08-20 Matt Johnston * database.cc (put_revision): uncomment check_sane_history call ======================================================================== --- contrib/monoprof.sh 31ffb28c2699d07a11388fcc62e3790e23270b67 +++ contrib/monoprof.sh 5f6668eab945bebe735c337d3f7d52960455904a @@ -419,6 +419,11 @@ print_help exit 0 fi +if [ ! -d ${DATADIR} ] ; then + echo "datadir ${DATADIR} not found (perhaps try --datadir)" + print_help + exit 1 +fi if [ ${LIST} = "true" ] ; then for i in ${TESTS}; do echo -e "\t$i"