summaryrefslogtreecommitdiff
path: root/makefiles/Makefile.tools
diff options
context:
space:
mode:
Diffstat (limited to 'makefiles/Makefile.tools')
-rw-r--r--makefiles/Makefile.tools4
1 files changed, 2 insertions, 2 deletions
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
###############################################################################