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