autogen.sh: Make it work with old Solaris 10 shell.
This commit is contained in:
parent
7f8f0c1c70
commit
d1d3dc0235
|
@ -110,7 +110,10 @@ check_tool_version ()
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if test ! -f ./builds/unix/configure.raw; then
|
# Solaris 10's shell doesn't like the `!` operator to negate the exit status.
|
||||||
|
if test -f ./builds/unix/configure.raw; then
|
||||||
|
:
|
||||||
|
else
|
||||||
echo "You must be in the same directory as \`autogen.sh'."
|
echo "You must be in the same directory as \`autogen.sh'."
|
||||||
echo "Bootstrapping doesn't work if srcdir != builddir."
|
echo "Bootstrapping doesn't work if srcdir != builddir."
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -182,7 +185,9 @@ copy_submodule_files ()
|
||||||
DLG_INC_DIR=subprojects/dlg/include/dlg
|
DLG_INC_DIR=subprojects/dlg/include/dlg
|
||||||
DLG_SRC_DIR=subprojects/dlg/src/dlg
|
DLG_SRC_DIR=subprojects/dlg/src/dlg
|
||||||
|
|
||||||
if ! test -d "$DLG_INC_DIR"; then
|
if test -d "$DLG_INC_DIR"; then
|
||||||
|
:
|
||||||
|
else
|
||||||
echo "Checking out submodule in \`subprojects/dlg':"
|
echo "Checking out submodule in \`subprojects/dlg':"
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
|
|
Loading…
Reference in New Issue