From: Jim Meyering Date: Sun, 2 Feb 2003 20:11:33 +0000 (+0000) Subject: Use @PATH_SEPARATOR@ instead of hard-coding the path-separator. X-Git-Tag: v4.5.5~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d9ad189ff71e6e37a534c331bfeaceed458c6c7b;p=thirdparty%2Fcoreutils.git Use @PATH_SEPARATOR@ instead of hard-coding the path-separator. 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. --- diff --git a/tests/basename/Makefile.am b/tests/basename/Makefile.am index f658371418..f8aa099198 100644 --- a/tests/basename/Makefile.am +++ b/tests/basename/Makefile.am @@ -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