Commit 65aac28a by Phil Edwards

mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.

2001-03-13  Phil Edwards  <pme@sources.redhat.com>

	* mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.

From-SVN: r40441
parent ca29d1dc
2001-03-13 Phil Edwards <pme@sources.redhat.com>
* mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
2001-03-12 Felix Lee <flee@redhat.com>
* mkcheck.in: workaround for bash 2.01 IFS bug.
......
......@@ -52,7 +52,11 @@ esac
# Compute the flags necessary to run the testsuite.
saved_ifs=$IFS
# bash 2.01 does the wrong thing with $* if IFS doesn't include space
IFS=': '
if test ${BASH_VERSINFO[1]} = 01 ; then
IFS=': '
else
IFS=':'
fi
set `../tests_flags ${query} $*` || exit 1
BUILD_DIR=$1; SRC_DIR=$2; PREFIX_DIR=$3; CXX=$4; CXXFLAGS=$5; INCLUDES=$6; LIBS=$7;
IFS=$saved_ifs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment