diff options
author | pme <pme@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-13 17:56:30 +0000 |
---|---|---|
committer | pme <pme@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-13 17:56:30 +0000 |
commit | d059db043382924b9ee151d09175096035576d40 (patch) | |
tree | c980084903e2f8a168a5c4cf75f34435034102ed /libstdc++-v3 | |
parent | 94015510417e217a0aa8e1325a4ab569dc2b3037 (diff) | |
download | gcc-d059db043382924b9ee151d09175096035576d40.tar.gz |
2001-03-13 Phil Edwards <pme@sources.redhat.com>
* mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40441 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rwxr-xr-x | libstdc++-v3/mkcheck.in | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 819e77c9715..fd8a5dacd98 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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. diff --git a/libstdc++-v3/mkcheck.in b/libstdc++-v3/mkcheck.in index 9788d181ec5..3ad79d83991 100755 --- a/libstdc++-v3/mkcheck.in +++ b/libstdc++-v3/mkcheck.in @@ -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 |