suzuki toshiya pushed to branch master at FreeType / FreeType
Commits:
-
5f2abe76
by Suzuki, Toshiya (鈴木俊哉) at 2024-10-14T10:26:17+09:00
1 changed file:
Changes:
... | ... | @@ -99,7 +99,7 @@ check_tool_version () |
99 | 99 | if test "$field"x = x; then
|
100 | 100 | field=3 # default to 3 for all GNU autotools, after filtering enclosed string
|
101 | 101 | fi
|
102 | - version=`$1 --version | head -1 | sed 's/([^)]*)/()/g' | cut -d ' ' -f $field`
|
|
102 | + version=`$1 --version | sed -n '1s/([^)]*)/()/gp' | cut -d ' ' -f $field`
|
|
103 | 103 | version_check=`compare_to_minimum_version $version $4`
|
104 | 104 | if test "$version_check"x = 0x; then
|
105 | 105 | echo "ERROR: Your version of the \`$2' tool is too old."
|
... | ... | @@ -182,7 +182,7 @@ copy_submodule_files () |
182 | 182 | cp $DLG_SRC_DIR/* src/dlg
|
183 | 183 | }
|
184 | 184 | |
185 | -if test -e ".git"; then
|
|
185 | +if test -d ".git" -o -h ".git"; then
|
|
186 | 186 | DLG_INC_DIR=subprojects/dlg/include/dlg
|
187 | 187 | DLG_SRC_DIR=subprojects/dlg/src/dlg
|
188 | 188 |