aboutsummaryrefslogtreecommitdiff
path: root/build-clang.bat
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-09-20 01:31:41 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-09-21 15:16:15 +0300
commit4ca6eb91c2faf550f251863429f333bfdbd89fec (patch)
tree055fa1cb7f1b4abe96e0a8d79908a0c8916dedab /build-clang.bat
parent8e6b798c8ca1f9125e2a0cb8eb3aed918bffa21d (diff)
Convert relative installation directory path to absolute in build scripts
Diffstat (limited to 'build-clang.bat')
-rw-r--r--build-clang.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-clang.bat b/build-clang.bat
index f8b8f31..16cdae0 100644
--- a/build-clang.bat
+++ b/build-clang.bat
@@ -152,6 +152,10 @@ if "_%1_" == "__" (
set "cxx=%1"
)
+rem Convert a relative path to an absolute.
+rem
+for /F "delims=|" %%D in ("%idir%") do set "idir=%%~dpnxD"
+
rem Certificate to trust.
rem
if not "_%trust%_" == "__" (