genmultilib: Change '=' to '-' when translating option names to directory names.
authorPhil Edwards <phil@codesourcery.com>
Thu, 4 Mar 2004 22:04:38 +0000 (22:04 +0000)
committerPhil Edwards <pme@gcc.gnu.org>
Thu, 4 Mar 2004 22:04:38 +0000 (22:04 +0000)
2004-03-04  Phil Edwards  <phil@codesourcery.com>

* genmultilib:  Change '=' to '-' when translating option names
to directory names.

From-SVN: r78938

gcc/ChangeLog
gcc/genmultilib

index a141cc9..d72dbf6 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-04  Phil Edwards  <phil@codesourcery.com>
+
+       * genmultilib:  Change '=' to '-' when translating option names
+       to directory names.
+
 2004-03-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * expr.c (expand_expr_real, case COMPONENT_REF): Get proper type of
index 3cac4e9..df9627c 100644 (file)
@@ -311,7 +311,7 @@ for combo in ${combinations}; do
   if [ -n "${todirnames}" ]; then
     dirout=`echo ${combo} | sed ${todirnames}`
   else
-    dirout=${combo}
+    dirout=`echo ${combo} | sed -e 's/=/-/g'`
   fi
   # Remove the leading and trailing slashes.
   dirout=`echo ${dirout} | sed -e 's|^/||' -e 's|/$||g'`