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.
This commit is contained in:
parent
ed4d0710f1
commit
6fb7b7a09d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user