[Intel-gfx] [PATCH 2/2] Don't use += to append to a shell variable.

Thomas Wood thomas.wood at intel.com
Thu Oct 9 12:16:24 CEST 2014


On 7 October 2014 17:41, Adam Sampson <ats at offog.org> wrote:
> POSIX only requires "=" to be supported; "+=" works in bash but not in
> dash.
>
> Signed-off-by: Adam Sampson <ats at offog.org>

Both patches merged, thanks.

> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 76487c0..9cdd202 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -203,7 +203,7 @@ AC_DEFINE_UNQUOTED(TARGET_CPU_PLATFORM, ["$host_cpu"], [Target platform])
>
>  files="broadwell cherryview haswell ivybridge sandybridge valleyview"
>  for file in $files; do
> -       QUICK_DUMP_EXTRA_DIST+="$file `tr '\n' ' ' < tools/quick_dump/$file`"
> +       QUICK_DUMP_EXTRA_DIST="$QUICK_DUMP_EXTRA_DIST $file `tr '\n' ' ' < tools/quick_dump/$file`"
>  done
>  AC_SUBST(QUICK_DUMP_EXTRA_DIST)
>
> --
> 2.1.0
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



More information about the Intel-gfx mailing list