From 97fa8972138da4e8168375dab87416854b6828a4 Mon Sep 17 00:00:00 2001 From: Monte Goulding Date: Thu, 6 Dec 2018 11:33:47 +1100 Subject: [PATCH] [[ BFS ]] Fix toolchain path when running from repo --- Toolset/libraries/revidelibrary.8.livecodescript | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Toolset/libraries/revidelibrary.8.livecodescript b/Toolset/libraries/revidelibrary.8.livecodescript index 8a598f5246..9db754db31 100644 --- a/Toolset/libraries/revidelibrary.8.livecodescript +++ b/Toolset/libraries/revidelibrary.8.livecodescript @@ -4012,7 +4012,11 @@ function revIDESpecialFolderPath pKey, pParam return item 1 to -3 of the filename of stack "home" & "/Toolset" break case "Toolchain" - return item 1 to -3 of the filename of stack "home" & "/Toolchain" + if revEnvironmentIsInstalled() then + return item 1 to -3 of the filename of stack "home" & "/Toolchain" + else + return revEnvironmentBinariesPath() + end if break case "Object Property Definitions" return item 1 to -3 of the filename of stack "home" & "/Toolset/resources/supporting_files/property_definitions"