summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-19 17:28:12 (GMT)
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-20 15:31:13 (GMT)
commit9259c5228898d69df7822fec09225925e5bd49c6 (patch)
treec345e0d4462203d71d108f66979d6bcf2dc7b69b
parentde9f11e3778de703c12c6027fe38ad66f123c8f6 (diff)
downloaddefinitions-9259c5228898d69df7822fec09225925e5bd49c6.tar.gz
sdk.write: Ensure TOOLCHAIN_PATH is absolute
If a relative path is used, everything breaks because the search paths inside the binaries don't make any sense.
-rwxr-xr-xsdk.write2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdk.write b/sdk.write
index 31516f5..8d3d2a6 100755
--- a/sdk.write
+++ b/sdk.write
@@ -148,7 +148,7 @@ if [ "$#" != 1 ]; then
exit 1
fi
-TOOLCHAIN_PATH="$1"
+TOOLCHAIN_PATH="$(readlink -f \"$1\")"
sedescape(){
# Escape the passed in string so it can be safely interpolated into