From b549deef36390c9260557e1601a504786a213c8c Mon Sep 17 00:00:00 2001 From: Jo Shields Date: Thu, 17 Aug 2017 10:52:36 -0400 Subject: [PATCH] Use `-f` flag to xabuild, to turn relative paths absolute The build system dies if xabuild is a symlink pointing to the real xabuild with a *relative* path instead of an absolute one. The `-f` flag to readlink handles this. --- tools/scripts/xabuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/scripts/xabuild b/tools/scripts/xabuild index 45dd34a8829..408e2cc15a5 100755 --- a/tools/scripts/xabuild +++ b/tools/scripts/xabuild @@ -35,7 +35,7 @@ # name=$(basename "$0") -truepath=$(readlink "$0" || echo "$0") +truepath=$(readlink -f "$0" || echo "$0") prefix="$(cd `dirname "${truepath}"` && pwd)" if [ -z "$MSBUILD" ] ; then