X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1a66f9e48742a7a62c7278c42e3ddd83dfe5180a..195011a04b27a42710b8bc68bf0d5b6578eca6c1:/src/mk_supernovae.sh diff --git a/src/mk_supernovae.sh b/src/mk_supernovae.sh index e8c2fc52f4..cec0876ff6 100755 --- a/src/mk_supernovae.sh +++ b/src/mk_supernovae.sh @@ -3,10 +3,15 @@ file=$1 shift -echo "#define SUPERNOVAE_MODE 1" > $file -echo '#include ' >> $file -echo '#include "portable.h"' >> $file -echo '#include "xbt.h"' >> $file +cat > $file < +#include "portable.h" +#include "xbt.h" +EOF for n in $@ ; do # echo "File $n" if [ "X$n" = 'Xxbt/log.c' ] ; then