find_local_version_file reduces its target with ${root%/*}, but that leaves a slash-less relative argument such as "." unchanged, leading to an infinite loop Signed-off-by: 付典 <fudianchn@gmail.com>
readlink