mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
Check CWD in builds-deps.cmd #804
This commit is contained in:
@@ -24,6 +24,13 @@
|
||||
@echo off
|
||||
echo.
|
||||
|
||||
for %%Q in ("%~dp0\.") DO set "batpath=%%~fQ"
|
||||
|
||||
if NOT "%CD%" == "%batpath%" (
|
||||
GOTO :ErrorAndPrintUsage
|
||||
)
|
||||
|
||||
|
||||
set PROJECT_NAME=IfcOpenShell
|
||||
call utils\cecho.cmd 15 0 "This script fetches and builds all %PROJECT_NAME% dependencies"
|
||||
echo.
|
||||
@@ -562,3 +569,5 @@ echo - https://www.visualstudio.com/
|
||||
echo 5. Run this batch script with Visual Studio environment variables set.
|
||||
echo - https://msdn.microsoft.com/en-us/library/ms229859(v=vs.110).aspx
|
||||
echo.
|
||||
echo NB: This script needs to be ran from the directory directly containing it.
|
||||
echo.
|
||||
|
||||
Reference in New Issue
Block a user