aboutsummaryrefslogtreecommitdiff
path: root/build-mingw.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-mingw.bat
parent8e6b798c8ca1f9125e2a0cb8eb3aed918bffa21d (diff)
Convert relative installation directory path to absolute in build scripts
Diffstat (limited to 'build-mingw.bat')
-rw-r--r--build-mingw.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-mingw.bat b/build-mingw.bat
index 7e62685..21704b4 100644
--- a/build-mingw.bat
+++ b/build-mingw.bat
@@ -161,6 +161,10 @@ if not "_%3_" == "__" (
set "trust=%3"
)
+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%_" == "__" (