about summary refs log tree commit diff
path: root/functions.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-18T12·35+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-18T12·35+0100
commit7bef965d6f191efb9c671f49fd187f4214db6120 (patch)
tree15ec20f2b30ece8c108598e79857e0ed11767820 /functions.mk
parent79f699edca26c035a8bcd68c7d5a13b4fbcbf3be (diff)
Make it work on GNU Make > 3.81 again
Diffstat (limited to 'functions.mk')
-rw-r--r--functions.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.mk b/functions.mk
index c92cdbc54ea0..45d917399391 100644
--- a/functions.mk
+++ b/functions.mk
@@ -11,4 +11,4 @@ filename-to-dep = $(dir $1).$(notdir $1).dep
 find-program = $(shell for i in $$(IFS=: ; echo $$PATH); do p=$$i/$(strip $1); if [ -e $$p ]; then echo $$p; break; fi; done)
 
 # Remove trailing slash.
-remove-trailing-slash = $(patsubst %/,%,$(1))
+add-trailing-slash = $(patsubst %/,%,$(1))/