From 023270f76aca2a6bbf1ad1521b77259c68134587 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 10 Jan 2008 16:48:02 +0000 Subject: Don't go into SUBOS if same as OS. --- mk/subdir.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mk') diff --git a/mk/subdir.mk b/mk/subdir.mk index 97502353..d3074ca1 100644 --- a/mk/subdir.mk +++ b/mk/subdir.mk @@ -19,7 +19,7 @@ _SUBDIR = @${_+_}for x in ${SUBDIR}; do \ DIRPRFX=${DIRPRFX}$$x.${OS}/ || exit $$?; \ cd ..; \ fi; \ - if test -d $$x.${SUBOS}; then \ + if test "${SUBOS}" != "${OS}" && test -d $$x.${SUBOS}; then \ ${ECHODIR} "===> ${DIRPRFX}$$x.${SUBOS} (${@:realinstall=install})"; \ cd $$x.${SUBOS}; \ ${MAKE} ${@:realinstall=install} \ -- cgit v1.2.3