From c013165e413788bd9ccf3d5044c9988b1a854fd3 Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan Date: Thu, 11 Jun 2015 00:35:09 +0800 Subject: [PATCH] build: Use a dot instead of source command POSIX does not define 'source' shell command, so we should use a dot instead. https://bugzilla.gnome.org/show_bug.cgi?id=750723 --- tests/unit/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am index 88028b314..4cdf0eee8 100644 --- a/tests/unit/Makefile.am +++ b/tests/unit/Makefile.am @@ -19,7 +19,7 @@ wrappers: stamp-test-unit @true stamp-test-unit: Makefile test-unit$(EXEEXT) @mkdir -p wrappers - source $(top_builddir)/cogl/libcogl.la ; \ + . $(top_builddir)/cogl/libcogl.la ; \ $(NM) $(top_builddir)/cogl/.libs/"$$dlname"| \ grep '[DR] _\?unit_test_'|sed 's/.\+ [DR] _\?//' > unit-tests @chmod +x $(top_srcdir)/tests/test-launcher.sh