configure: Avoid nesting cat calls.

Alexandre Julliard julliard at winehq.org
Mon Feb 10 03:46:34 CST 2014


Nicolas Le Cam <niko.lecam at gmail.com> writes:

> @@ -3453,9 +3453,7 @@ fi
>  AC_CONFIG_COMMANDS([Makefile], [wine_fn_output_makefile Makefile],
>  [wine_fn_output_makefile ()
>  {
> -    cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$[]1 && rm -f Make.tmp && return
> -`cat $wine_rules_file`
> -_WINE_EOF
> +    cat Make.tmp $wine_rules_file >\$tmp/makefile && mv -f \$tmp/makefile \$[]1 && rm -f Make.tmp && return

This doesn't do the same thing at all, it can't possibly work.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list