Le 8 juil. 2012 à 01:05, Stefano Lattarini a écrit :
> diff --git a/t/built-sources.sh b/t/built-sources.sh
> index 902cee1..b61b556 100755
> --- a/t/built-sources.sh
> +++ b/t/built-sources.sh
> @@ -29,12 +29,14 @@ BUILT_SOURCES = foo.c
> + # Use printf, not echo, to avoid spurious interpretation of
> + # the "\n" as a newline (see on NetBSD 5.1).
seen?
> + printf '%s\n' '#include <stdio.h>' > $@-t
> + printf '%s\n' 'int main (void)' >> $@-t
> + printf '%s\n' '{ ' >> $@-t
> + printf '%s\n' ' printf ("%s\n", FOOMSG);' >> $@-t
> + printf '%s\n' ' return 0;' >> $@-t
> + printf '%s\n' '}' >> $@-t
> mv -f $@-t $@
> CLEANFILES = foo.c
> END