From 113b28bb98c13a5712ca86227c252df51cd0d222 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 29 Jun 2012 19:34:07 +0000 Subject: Use patsubst to ensure trailing / get removed from dirs, so testtools can be found svn path=/trunk/tools/buildsystem/; revision=14000 --- makefiles/Makefile.tools | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'makefiles/Makefile.tools') diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools index 231181b..10c4888 100644 --- a/makefiles/Makefile.tools +++ b/makefiles/Makefile.tools @@ -38,8 +38,8 @@ endif # Determine path used to load us, so we can locate other makefiles etc ############################################################################### -NSBUILD := $(dir $(lastword $(MAKEFILE_LIST))) -NSSHARED := $(dir $(NSBUILD)) +NSBUILD := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) +NSSHARED := $(patsubst %/,%,$(dir $(NSBUILD))) NSTESTTOOLS := $(NSSHARED)/testtools ############################################################################### -- cgit v1.2.3