]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
PATH: quote $(PATH_SEPARATOR) as well
authorKO Myung-Hun <komh78@gmail.com>
Fri, 7 Nov 2014 14:41:28 +0000 (23:41 +0900)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 19 Dec 2014 20:08:13 +0000 (21:08 +0100)
On OS/2, $(PATH_SEPARATOR) is ';'. Without quote, it is recognized as
a mark of end of sentence.

* Makefile.am: quote $(PATH_SEPARATOR) as well.
* t/Makefile.inc: Likewise.

Copyright-paperwork-exempt: yes
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Makefile.am
t/Makefile.inc

index 143308a11be7ebfdec6e1bf406982c4eddc5b8c4..8501e2a0e0a73ca2795af9eaa0223f2ac2e81fcb 100644 (file)
@@ -72,7 +72,7 @@ generated_file_finalize = $(AM_V_at) \
 # For some tests or targets, we need to have the just-build automake and
 # aclocal scripts avaiable on PATH.
 extend_PATH = \
-  { PATH='$(abs_builddir)/t/wrap'$(PATH_SEPARATOR)$$PATH && export PATH; }
+  { PATH='$(abs_builddir)/t/wrap$(PATH_SEPARATOR)'$$PATH && export PATH; }
 
 # The master location for INSTALL is lib/INSTALL.
 # This is where "make fetch" will install new versions.
index b67f3a5810df4d5b74d4ba76aac8310c6d27f8b9..e4fe06c274de5a92eebea5f2de5051718e6a3b2b 100644 (file)
@@ -64,9 +64,9 @@ AM_TESTS_ENVIRONMENT += stderr_fileno_=9; export stderr_fileno_;
 # in case it is given with a relative name containing no slashes.
 AM_TESTS_ENVIRONMENT += \
   if test $(srcdir) != .; then \
-    PATH='$(abs_srcdir)/%D%/ax'$(PATH_SEPARATOR)$$PATH; \
+    PATH='$(abs_srcdir)/%D%/ax$(PATH_SEPARATOR)'$$PATH; \
   fi; \
-  PATH='$(abs_builddir)/%D%/ax'$(PATH_SEPARATOR)$$PATH; \
+  PATH='$(abs_builddir)/%D%/ax$(PATH_SEPARATOR)'$$PATH; \
   export PATH;
 
 # Hand-written tests.