summaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:34:07 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:34:07 +0000
commit113b28bb98c13a5712ca86227c252df51cd0d222 (patch)
tree06fc08c5cf5358d8e836f13b48f79f1039c58f4e /makefiles
parent686162cc81df5bbc356adeae729789020e795e91 (diff)
downloadbuildsystem-113b28bb98c13a5712ca86227c252df51cd0d222.tar.gz
buildsystem-113b28bb98c13a5712ca86227c252df51cd0d222.tar.bz2
Use patsubst to ensure trailing / get removed from dirs, so testtools can be found
svn path=/trunk/tools/buildsystem/; revision=14000
Diffstat (limited to 'makefiles')
-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
###############################################################################