summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-16 19:24:18 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-16 19:24:18 -0500
commit106c6cf6365794dd9bc6315358d12a5d4400a586 (patch)
treec18dac1cef45bca88cbc926c59d053f64b169c88
parent9dd14f211994ca4009539b68b9b82022eb3ad9c3 (diff)
core: Derp, the at.relbase function was broken.
-rw-r--r--build-aux/Makefile.head.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/Makefile.head.mk b/build-aux/Makefile.head.mk
index c2ce3075b2..e6b4a19808 100644
--- a/build-aux/Makefile.head.mk
+++ b/build-aux/Makefile.head.mk
@@ -24,9 +24,9 @@ ifeq ($(origin _at.NO_ONCE),undefined)
# These 4 functions are all $(call _at.func,parent,child)
_at.is_strict_subdir = $(filter $(abspath $1)/%,$(abspath $2))
_at.is_subdir = $(filter $(abspath $1)/%,$(abspath $2)/.)
-_at.relbase = $(strip \
- $(if $(call _at.is_subdir,$1,$2), \
- $(patsubst %/.,$(patsubst $(abspath $1)/%,%,$(abspath $2)/.)), \
+_at.relbase = $(strip \
+ $(if $(call _at.is_subdir,$1,$2), \
+ $(patsubst %/.,%,$(patsubst $(abspath $1)/%,%,$(abspath $2)/.)), \
$(abspath $2)))
_at.relto = $(strip \
$(if $(call _at.is_subdir,$1,$2), \