tests: follow own advice: use $(PATH_SEPARATOR), not ":"
authorJim Meyering <meyering@redhat.com>
Sat, 21 Mar 2009 08:52:41 +0000 (09:52 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 21 Mar 2009 08:58:37 +0000 (09:58 +0100)
* maint.mk (coreutils-path-check): Use the variable, not the literal.

maint.mk

index 17f0be8..a809a5f 100644 (file)
--- a/maint.mk
+++ b/maint.mk
@@ -741,7 +741,8 @@ define coreutils-path-check
               esac;                                    \
             done                                       \
          && ln -sf ../src/true $(bin)/false            \
-         && PATH=`pwd`/$(bin):$$PATH $(MAKE) -C tests check \
+         && PATH=`pwd`/$(bin)$(PATH_SEPARATOR)$$PATH   \
+               $(MAKE) -C tests check                  \
          && { test -d gnulib-tests                     \
                 && $(MAKE) -C gnulib-tests check       \
                 || :; }                                \