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
This commit is contained in:
Ting-Wei Lan 2015-06-11 00:35:09 +08:00
parent eaf816f46b
commit c013165e41

View File

@ -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