summaryrefslogtreecommitdiff
path: root/tests/basename
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-02-02 20:11:33 +0000
committerJim Meyering <jim@meyering.net>2003-02-02 20:11:33 +0000
commitd9ad189ff71e6e37a534c331bfeaceed458c6c7b (patch)
treeee309b6b8f5c9aaedd969f35e83b6c1e5bf05052 /tests/basename
parenta9a663e42bc94e4b79db723316c65fdd76b292c2 (diff)
downloadcoreutils-d9ad189ff71e6e37a534c331bfeaceed458c6c7b.tar.xz
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.
Diffstat (limited to 'tests/basename')
-rw-r--r--tests/basename/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basename/Makefile.am b/tests/basename/Makefile.am
index f65837141..f8aa09919 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