Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
d1d3dc02
by Werner Lemberg at 2021-09-02T22:12:07-07:00
1 changed file:
Changes:
... | ... | @@ -110,7 +110,10 @@ check_tool_version () |
110 | 110 |
fi
|
111 | 111 |
}
|
112 | 112 |
|
113 |
-if test ! -f ./builds/unix/configure.raw; then
|
|
113 |
+# Solaris 10's shell doesn't like the `!` operator to negate the exit status.
|
|
114 |
+if test -f ./builds/unix/configure.raw; then
|
|
115 |
+ :
|
|
116 |
+else
|
|
114 | 117 |
echo "You must be in the same directory as \`autogen.sh'."
|
115 | 118 |
echo "Bootstrapping doesn't work if srcdir != builddir."
|
116 | 119 |
exit 1
|
... | ... | @@ -182,7 +185,9 @@ copy_submodule_files () |
182 | 185 |
DLG_INC_DIR=subprojects/dlg/include/dlg
|
183 | 186 |
DLG_SRC_DIR=subprojects/dlg/src/dlg
|
184 | 187 |
|
185 |
-if ! test -d "$DLG_INC_DIR"; then
|
|
188 |
+if test -d "$DLG_INC_DIR"; then
|
|
189 |
+ :
|
|
190 |
+else
|
|
186 | 191 |
echo "Checking out submodule in \`subprojects/dlg':"
|
187 | 192 |
git submodule init
|
188 | 193 |
git submodule update
|