commit | 6fb7b7a09dfe348fefb16d163dc9d91f7503f1f6 | [log] [tgz] |
---|---|---|
author | Brendan Shanks <bshanks@codeweavers.com> | Tue Apr 26 15:29:35 2022 -0700 |
committer | Brendan Shanks <bshanks@codeweavers.com> | Tue Apr 26 16:07:42 2022 -0700 |
tree | 909c0d14f7b88060fb61124287c779d977df1229 | |
parent | ed4d0710f14878b51ce1885e0f3221e2d6d97a5a [diff] |
autogen.sh: Fix building when freetype is itself a git submodule. There are situations where .git is not a directory, like when freetype is a submodule in another repository.
diff --git a/autogen.sh b/autogen.sh index 1545c63..b5fc1be 100755 --- a/autogen.sh +++ b/autogen.sh
@@ -182,7 +182,7 @@ cp $DLG_SRC_DIR/* src/dlg } -if test -d ".git"; then +if test -e ".git"; then DLG_INC_DIR=subprojects/dlg/include/dlg DLG_SRC_DIR=subprojects/dlg/src/dlg