diff --git a/Source/Script/SetGitProperties.cmd b/Source/Script/SetGitProperties.cmd index 6c7690140..76dac2fa1 100644 --- a/Source/Script/SetGitProperties.cmd +++ b/Source/Script/SetGitProperties.cmd @@ -9,7 +9,7 @@ cd /d %origdir% for /f %%i in ('git describe --tags --long') do set GIT_DESCRIBE=%%i > nul for /F "tokens=1,2,3 delims=-" %%i in ("%GIT_DESCRIBE%") do call :process_git_desc %%i %%j %%k -for /F "tokens=1,2,3" %%i in (E:\Android\project64.1\Source\Project64-core\version.h) do call :process_version %%i %%j %%k +for /F "tokens=1,2,3" %%i in (%base_dir%\Source\Project64-core\version.h) do call :process_version %%i %%j %%k set VERSION=v%VERSION_MAJOR%.%VERSION_MINOR%.%VERSION_REVISION%-%VERSION_BUILD%-%VERSION_COMMIT% echo GIT_DESCRIBE = %VERSION% > "%base_dir%\git.properties"