diff options
author | Brendan Shanks <bshanks@codeweavers.com> | 2022-04-26 15:29:35 -0700 |
---|---|---|
committer | Brendan Shanks <bshanks@codeweavers.com> | 2022-04-26 16:07:42 -0700 |
commit | 6fb7b7a09dfe348fefb16d163dc9d91f7503f1f6 (patch) | |
tree | 909c0d14f7b88060fb61124287c779d977df1229 | |
parent | ed4d0710f14878b51ce1885e0f3221e2d6d97a5a (diff) | |
download | freetype2-6fb7b7a09dfe348fefb16d163dc9d91f7503f1f6.tar.gz |
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.
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index 1545c63ad..b5fc1beb5 100755 --- a/autogen.sh +++ b/autogen.sh @@ -182,7 +182,7 @@ copy_submodule_files () 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 |