aboutsummaryrefslogtreecommitdiff
path: root/buildconf.bat
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-08-06 17:39:20 +0100
committerSteve Holme <steve_holme@hotmail.com>2015-08-06 18:53:49 +0100
commitcf8975387ffd00839805d767fa8463b4cc33f99c (patch)
treec9d402a796b3911cdaf72564e7097c430ca67697 /buildconf.bat
parent0342ada31f36f4fb5fa3ef9a5c480a2d48cb4eb6 (diff)
buildconf.bat: Synchronise no repository error with generate.bat
Diffstat (limited to 'buildconf.bat')
-rw-r--r--buildconf.bat7
1 files changed, 4 insertions, 3 deletions
diff --git a/buildconf.bat b/buildconf.bat
index 6a76006d9..694737a94 100644
--- a/buildconf.bat
+++ b/buildconf.bat
@@ -38,7 +38,8 @@ rem snapshot archives.
rem Switch to this batch file's directory
cd /d "%~0\.." 1>NUL 2>&1
- if not exist GIT-INFO goto nogitinfo
+ rem Check we are running from a curl git repository
+ if not exist GIT-INFO goto norepo
rem Set our variables
setlocal
@@ -135,9 +136,9 @@ rem
echo Error: Unknown argument '%1'
goto error
-:nogitinfo
+:norepo
echo.
- echo ERROR: This file shall only be used with a curl git tree checkout.
+ echo Error: This batch file should only be used with a curl git repository
goto error
:error