aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Lee <flee@redhat.com>2001-03-12 21:52:29 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2001-03-12 21:52:29 +0000
commit52e8d2b2a0b3dd1a1e79f786817ffae3e09b721e (patch)
tree786ab04aa4b187ce96824f1a437b3bb8d0097934
parentdb1d582c8119b5d2974c6c6ef9642b935dcfd9ae (diff)
downloadgcc-52e8d2b2a0b3dd1a1e79f786817ffae3e09b721e.zip
gcc-52e8d2b2a0b3dd1a1e79f786817ffae3e09b721e.tar.gz
gcc-52e8d2b2a0b3dd1a1e79f786817ffae3e09b721e.tar.bz2
mkcheck.in: workaround for bash 2.01 IFS bug.
2001-03-12 Felix Lee <flee@redhat.com> * mkcheck.in: workaround for bash 2.01 IFS bug. From-SVN: r40430
-rw-r--r--libstdc++-v3/ChangeLog4
-rwxr-xr-xlibstdc++-v3/mkcheck.in3
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 1942ff3..819e77c 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-12 Felix Lee <flee@redhat.com>
+
+ * mkcheck.in: workaround for bash 2.01 IFS bug.
+
2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
Fixups for -fno-for-scope
diff --git a/libstdc++-v3/mkcheck.in b/libstdc++-v3/mkcheck.in
index 913c445..9788d18 100755
--- a/libstdc++-v3/mkcheck.in
+++ b/libstdc++-v3/mkcheck.in
@@ -51,7 +51,8 @@ esac
# Compute the flags necessary to run the testsuite.
saved_ifs=$IFS
-IFS=':'
+# bash 2.01 does the wrong thing with $* if IFS doesn't include space
+IFS=': '
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