[ $1 == $2 ] is a bash-only syntax. Must use [ $1 ==$2 ] instead.

This commit is contained in:
Laurent Rineau 2003-06-02 17:18:41 +00:00
parent 630c3e38f7
commit 65b6020031
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
//---------------------------------------------------------------------
// actual revision
//---------------------------------------------------------------------
GLOB: fix a bashism in install_cgal
GLOB: QT_MOC is now always added in the master makefile, as it should be.
GLOB: Removed linkage against Core
GLOB: added licensing information about Qt widget stuff

View File

@ -4353,7 +4353,7 @@ compiler_choose_menu()
while [ $i -lt ${_COMPILER_NUMBER} ]; do
_tmp=`eval "echo '$'_COMPILER_$i"`
_tmp=`eval "echo ${_tmp}"`
if [ "${COMPILER_NAME}" == `compiler_bin ${_tmp}` ]; then
if [ "${COMPILER_NAME}" = `compiler_bin ${_tmp}` ]; then
return
fi
eval "${_EXPR} ${i} + 1"