[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 6fb7b7a09: autogen.sh: Fix building when freetype is
From: |
Werner Lemberg |
Subject: |
[freetype2] master 6fb7b7a09: autogen.sh: Fix building when freetype is itself a git submodule. |
Date: |
Wed, 27 Apr 2022 01:17:23 -0400 (EDT) |
branch: master
commit 6fb7b7a09dfe348fefb16d163dc9d91f7503f1f6
Author: Brendan Shanks <bshanks@codeweavers.com>
Commit: Brendan Shanks <bshanks@codeweavers.com>
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.
---
autogen.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 6fb7b7a09: autogen.sh: Fix building when freetype is itself a git submodule.,
Werner Lemberg <=