aboutsummaryrefslogtreecommitdiff
path: root/mk/functions.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/functions.mk')
-rw-r--r--mk/functions.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/functions.mk b/mk/functions.mk
index 45d917399..c48775db8 100644
--- a/mk/functions.mk
+++ b/mk/functions.mk
@@ -10,5 +10,5 @@ filename-to-dep = $(dir $1).$(notdir $1).dep
# empty string if not found.
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.
+# Ensure that the given string ends in a single slash.
add-trailing-slash = $(patsubst %/,%,$(1))/