bug-gzip
[Top][All Lists]
Advanced

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

[PATCH 1/3] tests: port to Solaris 10 /bin/sh


From: Paul Eggert
Subject: [PATCH 1/3] tests: port to Solaris 10 /bin/sh
Date: Wed, 10 Apr 2013 15:28:15 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

* tests/Makefile.am (TESTS_ENVIRONMENT):
Use "FOO=val; export FOO" rather than "export FOO=val",
as the latter form doesn't work with Solaris /bin/sh.
---
 tests/Makefile.am | 35 +++++++++++++++++------------------
 1 file changed, 17 insertions(+), 18 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index c7ddd37..ad08601 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -69,23 +69,22 @@ TESTS_ENVIRONMENT =                         \
       $(SHELL) "$$1";                          \
     fi;                                                \
   };                                           \
-  export                                       \
-  LC_ALL=C                                     \
-  VERSION=$(VERSION)                           \
-  abs_top_builddir='$(abs_top_builddir)'       \
-  abs_top_srcdir='$(abs_top_srcdir)'           \
-  abs_srcdir='$(abs_srcdir)'                   \
-  built_programs='$(built_programs)'           \
-  srcdir='$(srcdir)'                           \
-  top_srcdir='$(top_srcdir)'                   \
-  CC='$(CC)'                                   \
-  GZIP_TEST_NAME=`echo $$tst|sed 's,^\./,,;s,/,-,g'` \
-  MAKE=$(MAKE)                                 \
-  PACKAGE_BUGREPORT='$(PACKAGE_BUGREPORT)'     \
-  PACKAGE_VERSION=$(PACKAGE_VERSION)           \
-  PERL='$(PERL)'                               \
-  SHELL='$(SHELL)'                             \
-  PATH='$(abs_top_builddir)$(PATH_SEPARATOR)'"$$PATH" \
-  ; 9>&2
+  LC_ALL=C; export LC_ALL;                                             \
+  VERSION=$(VERSION); export VERSION;                                          
\
+  abs_top_builddir='$(abs_top_builddir)'; export abs_top_builddir;     \
+  abs_top_srcdir='$(abs_top_srcdir)'; export abs_top_srcdir;           \
+  abs_srcdir='$(abs_srcdir)'; export abs_srcdir;                       \
+  built_programs='$(built_programs)'; export built_programs;           \
+  srcdir='$(srcdir)'; export srcdir;                                   \
+  top_srcdir='$(top_srcdir)'; export top_srcdir;                       \
+  CC='$(CC)'; export CC;                                               \
+  GZIP_TEST_NAME=`echo $$tst|sed 's,^\./,,;s,/,-,g'`; export GZIP_TEST_NAME; \
+  MAKE=$(MAKE); export MAKE;                                           \
+  PACKAGE_BUGREPORT='$(PACKAGE_BUGREPORT)'; export PACKAGE_BUGREPORT;  \
+  PACKAGE_VERSION=$(PACKAGE_VERSION); export PACKAGE_VERSION;          \
+  PERL='$(PERL)'; export PERL;                                         \
+  SHELL='$(SHELL)'; export SHELL;                                      \
+  PATH='$(abs_top_builddir)$(PATH_SEPARATOR)'"$$PATH"; export PATH;    \
+  9>&2
 
 VERBOSE = yes
-- 
1.7.11.7




reply via email to

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