X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/da76b0351036351fe293167ae8022aaf51acceef..23d1de2a773c69fda37d5d1c3e3a8ea72e0dd523:/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