summaryrefslogtreecommitdiffstats
path: root/core/cfg-mplayer.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-06 21:23:35 +0100
committerwm4 <wm4@nowhere>2013-02-06 23:03:37 +0100
commit314a07e787eac88486e5b3b5ed48aa37ae7cddfd (patch)
tree3bbf986c1ad53649f4835188a9b71d457e04d83e /core/cfg-mplayer.h
parent630a2b195acb3768b67ad81539fc0117a12c1293 (diff)
downloadmpv-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/cfg-mplayer.h')
0 files changed, 0 insertions, 0 deletions