diff --git a/build.bat b/build.bat index bd365d8..9c28889 100644 --- a/build.bat +++ b/build.bat @@ -1,8 +1,7 @@ @echo off -set ProjectDevRoot=C:\projects\test -set ProjectName=Lumenarium -set ProjectDevPath=%ProjectDevRoot%\%ProjectName% +set ProjectDevFolder=%~dp0 +set ProjectDevPath=%ProjectDevFolder:~0,-1% pushd %ProjectDevPath% diff --git a/meta/build.bat b/build_meta.bat similarity index 86% rename from meta/build.bat rename to build_meta.bat index bcd292e..1197f0a 100644 --- a/meta/build.bat +++ b/build_meta.bat @@ -1,8 +1,7 @@ @echo off -set ProjectDevRoot=C:\projects\test -set ProjectName=Lumenarium -set ProjectDevPath=%ProjectDevRoot%\%ProjectName% +set ProjectDevFolder=%~dp0 +set ProjectDevPath=%ProjectDevFolder:~0,-1% pushd %ProjectDevPath%