X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/71af21fb892c4e4d6676b8ac14b836e59a1af4bc..2fcc135ed60645b200d4d865b826cc0ba71e65f2:/src/smpi/smpicxx.in diff --git a/src/smpi/smpicxx.in b/src/smpi/smpicxx.in index b8d6d401f9..1e09148e9d 100755 --- a/src/smpi/smpicxx.in +++ b/src/smpi/smpicxx.in @@ -1,6 +1,6 @@ #!/usr/bin/env sh -# Copyright (c) 2014-2019. The SimGrid Team. +# Copyright (c) 2014-2020. The SimGrid Team. # All rights reserved. # This program is free software; you can redistribute it and/or modify it @@ -32,9 +32,6 @@ else list_add LINKARGS "@libdir@\libsimgrid.dll" fi -# By default, we execute the commands instead of only showing them to cmake -show= - list_set CMDARGS while [ $# -gt 0 ]; do ARG="$1" @@ -81,7 +78,7 @@ list_add_not_empty CMDLINE "${CMDARGS}" list_add_not_empty CMDLINE "${LINKARGS}" eval $(list_get CMDLINE) -if [ "x$VERBOSE" = x1 -o "x$show" = x1 ] ; then +if [ "x$VERBOSE" = x1 -o "x$show" = x1 ] ; then echo "$@" [ "x$show" = x1 ] && exit 0 fi