[Dune-devel] [Dune-Commit] [Commit] dune-common - 7187bf7: [dunecontrol] Skip bexec for a module if build directory is not found instead of exiting.

Christian Engwer christian.engwer at uni-muenster.de
Fri May 10 15:16:00 CEST 2013


Hi Christoph,

I observed, that recently some changes to teh buildsyste were
introduced, which were only discussed in the cmake bug-tracker.

I think it would be good to switch to the flyspray, so that everybody
is aware of these questions and can comment.

Christian

On Fri, May 10, 2013 at 02:51:39PM +0200, Christoph Grüninger wrote:
> New commit, appeared at Fri May 10 14:51:39 2013 +0200
> as part of the following ref changes:
> 
>     branch refs/heads/master    updated from 9c5b3d0 -> 7187bf7
> 
> Browsable version: http://cgit.dune-project.org/repositories/dune-common/commit/?id=7187bf742554344f4cfd6d6ed70d0695cd45502f
> 
> ======================================================================
> 
> commit 7187bf742554344f4cfd6d6ed70d0695cd45502f
> Author: Christoph Grüninger <gruenich at dune-project.org>
> Date:   Fri May 10 14:49:47 2013 +0200
> 
>     [dunecontrol] Skip bexec for a module if build directory is not found instead of exiting.
> 
>  bin/dunecontrol | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> 
> 
> diff --git a/bin/dunecontrol b/bin/dunecontrol
> index 807f4b1..a1b04ff 100755
> --- a/bin/dunecontrol
> +++ b/bin/dunecontrol
> @@ -252,7 +252,13 @@ done
>  
>  run_default_exec () { bash -c "eval $CMD_FLAGS"; }
>  
> -run_default_bexec () { bash -c "cd "$BUILDDIR" && eval $CMD_FLAGS"; }
> +run_default_bexec () {
> +  if test -d "$BUILDDIR"; then
> +    bash -c "cd \"$BUILDDIR\" && eval $CMD_FLAGS";
> +  else
> +    eval echo "Build directory \\\"$BUILDDIR\\\" not found, skipping bexec for \$NAME_${module}"
> +  fi
> +}
>  
>  run_default_status () {
>    local verbose=0
> 
> _______________________________________________
> Dune-Commit mailing list
> Dune-Commit at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-commit

-- 
Prof. Dr. Christian Engwer 
Institut für Numerische und Angewandte Mathematik
Fachbereich Mathematik und Informatik der Universität Münster
Einsteinstrasse 62
48149 Münster

E-Mail	christian.engwer at uni-muenster.de
Telefon	+49 251 83-35067
FAX		+49 251 83-32729




More information about the Dune-devel mailing list