]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Use @PATH_SEPARATOR@ instead of hard-coding the path-separator.
authorJim Meyering <jim@meyering.net>
Sun, 2 Feb 2003 20:11:33 +0000 (20:11 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 2 Feb 2003 20:11:33 +0000 (20:11 +0000)
Also double-quote the new PATH, to avoid problems when the
path-separator is a semi-colon or when `pwd` contains e.g. a space.

tests/basename/Makefile.am

index f658371418db923ecb6e9aee2df3b43f920ccb21..f8aa099198324e9d74a95d15cc5730cd117d1c96 100644 (file)
@@ -7,5 +7,5 @@ TESTS_ENVIRONMENT = \
   top_srcdir=$(top_srcdir) \
   srcdir=$(srcdir) \
   PERL="@PERL@" \
-  PATH=`pwd`/../../src:$$PATH \
+  PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
   PROG=basename