aboutsummaryrefslogtreecommitdiff
path: root/build-mingw.bat
diff options
context:
space:
mode:
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%_" == "__" (