diff options
author | wm4 <wm4@nowhere> | 2013-02-06 21:23:35 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-06 23:03:37 +0100 |
commit | 314a07e787eac88486e5b3b5ed48aa37ae7cddfd (patch) | |
tree | 3bbf986c1ad53649f4835188a9b71d457e04d83e /core/mp_msg.h | |
parent | 630a2b195acb3768b67ad81539fc0117a12c1293 (diff) | |
download | mpv-314a07e787eac88486e5b3b5ed48aa37ae7cddfd.tar.bz2 mpv-314a07e787eac88486e5b3b5ed48aa37ae7cddfd.tar.xz |
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 'core/mp_msg.h')
0 files changed, 0 insertions, 0 deletions