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
This commit is contained in:
parent
ca29d1dcff
commit
65aac28aa2
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user