The previous commit made BUILDID use git for submodule, but for complex git setup (e.g. worktree) and older git version or dead .git 'link' it would blindly rely on the existence of the .git file even if git does not actually find anything. This would lead to possibly empty BUILDID which would fail building. Just always run the git command, and echo the version string if it failed Change-Id: Ied268d2150a30dc1146498e15fa8394afc8a8d0d
179 KiB
Executable File
179 KiB
Executable File