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

Adam Sampson ats at offog.org
Tue Oct 7 18:41:18 CEST 2014


POSIX only requires "=" to be supported; "+=" works in bash but not in
dash.

Signed-off-by: Adam Sampson <ats at offog.org>
---
 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




More information about the Intel-gfx mailing list