]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
docker "bind" needs an absolute path
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Wed, 15 May 2019 15:11:37 +0000 (15:11 +0000)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Wed, 15 May 2019 15:15:31 +0000 (16:15 +0100)
scripts/docker/crossbuild/crossbuild.mk

index 8a49ffad0c5413c00b869988679b86b1191de5a2..6194434f236876c2556ca1938e6e122817f2887b 100644 (file)
@@ -23,7 +23,7 @@ DD:=$(dir $(realpath $(lastword $(MAKEFILE_LIST))))
 CB_IMAGES:=$(patsubst $(DT)/build-%,%,$(wildcard $(DT)/build-*))
 
 # Location of the .git dir (may be different for e.g. submodules)
-GITDIR:=$(shell git rev-parse --git-dir)
+GITDIR:=$(shell readlink -f $$(git rev-parse --git-dir))
 
 CB_CPREFIX:=fr-crossbuild-
 CB_IPREFIX:=freeradius-build