[cogl/cogl-1.20] build: Use a dot instead of source command



commit c013165e413788bd9ccf3d5044c9988b1a854fd3
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Thu Jun 11 00:35:09 2015 +0800

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am
index 88028b3..4cdf0ee 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]