summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2015-06-11 00:35:09 +0800
committerTing-Wei Lan <lantw@src.gnome.org>2015-06-11 00:59:21 +0800
commitc013165e413788bd9ccf3d5044c9988b1a854fd3 (patch)
tree3a485af27d8256104113b5d1ad55320945d900e8
parenteaf816f46b8d12cfa523b39ba4e7e49b69cfba32 (diff)
downloadcogl-c013165e413788bd9ccf3d5044c9988b1a854fd3.tar.gz
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
-rw-r--r--tests/unit/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am
index 88028b31..4cdf0eee 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