diff options
author | 2013-02-06 21:23:35 +0100 | |
---|---|---|
committer | 2013-02-06 23:03:37 +0100 | |
commit | 314a07e787eac88486e5b3b5ed48aa37ae7cddfd (patch) | |
tree | 3bbf986c1ad53649f4835188a9b71d457e04d83e /DOCS/man/en/input.rst | |
parent | 630a2b195acb3768b67ad81539fc0117a12c1293 (diff) |
version.sh: fix git rev. generation (.git is not always a directory)
It appears git submodule handling recently changed, changing the .git
directory to a regular file containing submodule specific information.
This means that version.sh would generate "#define VERSION "git-UNKNOWN""
if the checkout is a submodule, because it explicitly checks for a .git
directory using test -d. Change it to -e so that this case is handled
correctly.
Diffstat (limited to 'DOCS/man/en/input.rst')
0 files changed, 0 insertions, 0 deletions