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

2004-03-04  Phil Edwards  <phil@codesourcery.com>

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

From-SVN: r78938
This commit is contained in:
Phil Edwards 2004-03-04 22:04:38 +00:00 committed by Phil Edwards
parent daae8185c8
commit 8653fed73c
2 changed files with 6 additions and 1 deletions

View 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

View 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'`