From f37e0a885ab257b40159a81cdc2b3a7d70e7b691 Mon Sep 17 00:00:00 2001
From: Alexander Barkov <bar@mnogosearch.org>
Date: Thu, 3 Oct 2013 10:58:41 +0400
Subject: [PATCH] MDEV-4425 Regexp enhancements

PCRE unit tests failed on Ubuntu Precise, because "source"
is not a known command in "dash" (the default shell in Precise).

Changing "source" to ".", which should be understood in all shells.
---
 pcre/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pcre/CMakeLists.txt b/pcre/CMakeLists.txt
index a1238889c8..55caabcfd7 100644
--- a/pcre/CMakeLists.txt
+++ b/pcre/CMakeLists.txt
@@ -374,7 +374,7 @@ MESSAGE(\" \")
 srcdir=${PROJECT_SOURCE_DIR}
 pcretest=${PCRETEST_EXE}
 cd ${PCRETEST_DIR}
-source ${PROJECT_SOURCE_DIR}/RunTest
+. ${PROJECT_SOURCE_DIR}/RunTest
 if test \"$?\" != \"0\"; then exit 1; fi
 # End
 ")
@@ -391,7 +391,7 @@ srcdir=${PROJECT_SOURCE_DIR}
 pcregrep=${PCREGREP_EXE}
 pcretest=${PCRETEST_EXE}
 cd ${PCRETEST_DIR}
-source ${PROJECT_SOURCE_DIR}/RunGrepTest
+. ${PROJECT_SOURCE_DIR}/RunGrepTest
 if test \"$?\" != \"0\"; then exit 1; fi
 # End
 ")
-- 
2.30.9