Thanks, george.
Begin forwarded message:
From: emall...@osl.iu.edu Date: October 25, 2007 10:12:53 AM EDT To: s...@open-mpi.org Subject: [OMPI svn] svn:open-mpi r16563 Reply-To: de...@open-mpi.org Author: emallove Date: 2007-10-25 10:12:52 EDT (Thu, 25 Oct 2007) New Revision: 16563 URL: https://svn.open-mpi.org/trac/ompi/changeset/16563 Log: Sanity check for SVK workspace in autogen.sh. Text files modified: trunk/autogen.sh | 29 ++++++++++++++++++++++++++++- 1 files changed, 28 insertions(+), 1 deletions(-) Modified: trunk/autogen.sh====================================================================== ========--- trunk/autogen.sh (original) +++ trunk/autogen.sh 2007-10-25 10:12:52 EDT (Thu, 25 Oct 2007) @@ -1103,6 +1103,32 @@unset project project_path framework framework_path component component_path}+##################################################################### #########+# +# check_for_svk_checkout - determine whether this is an SVK checkout +# +# INPUT: +# none +# +# OUTPUT: +# none +# +# SIDE EFFECTS: +#+##################################################################### #########+check_for_svk_checkout() { + is_svk_checkout=0 + + svk_path=`which svk 2>/dev/null` + if test -x "$svk_path"; then + top_level_dir="`dirname $0`" + svk info $top_level_dir >/dev/null 2>&1 + if test "$?" = 0 ; then + is_svk_checkout=1 + fi + fi + +}###################################################################### ######### @@ -1135,7 +1161,8 @@ echo "[Checking] prerequisites" # sanity check to make sure user isn't being stupid -if test ! -d .svn ; then +check_for_svk_checkout +if test ! -d .svn -a ! $is_svk_checkout ; then cat <<EOFThis doesn't look like a developer copy of Open MPI. You probably do not_______________________________________________ svn mailing list s...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/svn
smime.p7s
Description: S/MIME cryptographic signature