summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-12 11:29:44 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-12 11:29:44 -0400
commit893a5768ae55d8f739eb3e61f52494741495a625 (patch)
tree3f5f8daa19f9ffd616af5362895d1edccf211089 /build-aux
parent624be97781dfd9060e5d0c6341c8c21e95b8c47b (diff)
(systemd) at.addprefix: fix
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/Makefile.head.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/Makefile.head.mk b/build-aux/Makefile.head.mk
index 47c17c9..11b1374 100644
--- a/build-aux/Makefile.head.mk
+++ b/build-aux/Makefile.head.mk
@@ -35,7 +35,7 @@ at.relto = $(foreach p,$2,$(call _at.relto,$1,$p))
at.path = $(call at.relto,.,$1)
_at.addprefix = $(if $(filter /%,$2),$2,$1/$2)
-at.addprefix = $(call at.path,$(foreach f,$2, $(call _at.addprefix,$1,$f) ))
+at.addprefix = $(foreach f,$2, $(addsuffix $(if $(filter %/,$f),/),$(call at.path,$(call _at.addprefix,$1,$f)) ))
define at.nl