summaryrefslogtreecommitdiff
path: root/buildconf.bat
diff options
context:
space:
mode:
Diffstat (limited to 'buildconf.bat')
-rw-r--r--buildconf.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildconf.bat b/buildconf.bat
index 876d4d618..6a76006d9 100644
--- a/buildconf.bat
+++ b/buildconf.bat
@@ -35,6 +35,9 @@ rem snapshot archives.
if /i "%~1" == "-h" goto syntax
if /i "%~1" == "-help" goto syntax
+ rem Switch to this batch file's directory
+ cd /d "%~0\.." 1>NUL 2>&1
+
if not exist GIT-INFO goto nogitinfo
rem Set our variables