about summary refs log tree commit diff
path: root/functions.mk
diff options
context:
space:
mode:
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))/