grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.9-75-ge87a26c


From: Jim Meyering
Subject: grep branch, master, updated. v2.9-75-ge87a26c
Date: Sat, 12 Nov 2011 13:36:13 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  e87a26c5857eec858da46a72312a85afd7f8305c (commit)
      from  26d0fa7837b74b4aef0084d39bd3adebb584d127 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=e87a26c5857eec858da46a72312a85afd7f8305c


commit e87a26c5857eec858da46a72312a85afd7f8305c
Author: Bruno Haible <address@hidden>
Date:   Sat Nov 12 14:12:09 2011 +0100

    tests: fix test suite execution failure on OSF/1 5.1
    
    * tests/Makefile.am (TESTS_ENVIRONMENT): Use a shell function to
    ensure that we use only the portable form of the 'export' shell
    built-in.

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 13d3ca6..b8a5a3c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -105,7 +105,20 @@ MALLOC_PERTURB_ = 1
 TESTS_ENVIRONMENT =                            \
   tmp__=$$TMPDIR; test -d "$$tmp__" || tmp__=.;        \
   TMPDIR=$$tmp__; export TMPDIR;               \
-  export                                       \
+                                               \
+  export_with_values ()                                        \
+  {                                                    \
+    sed_extract_var='s/=.*//';                         \
+    sed_quote_value="s/=\\(.*\\)/='\\1'/";             \
+    for arg in "$$@"; do                               \
+      var=`echo "$$arg" | sed -e "$$sed_extract_var"`; \
+      arg=`echo "$$arg" | sed -e "$$sed_quote_value"`; \
+      eval "$$arg";                                    \
+      export "$$var";                                  \
+    done;                                              \
+  };                                                   \
+                                               \
+  export_with_values                           \
   VERSION='$(VERSION)'                          \
   LOCALE_FR='$(LOCALE_FR)'                      \
   LOCALE_FR_UTF8='$(LOCALE_FR_UTF8)'            \

-----------------------------------------------------------------------

Summary of changes:
 tests/Makefile.am |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

[Prev in Thread] Current Thread [Next in Thread]