Revert this patch, as it is not a regression.

2008-01-24  Ben Elliston  <bje@au.ibm.com>

	PR other/22232
	* fixproto: Escape "." in sed expression that strips leading "./".

From-SVN: r131769
This commit is contained in:
Ben Elliston 2008-01-24 11:11:47 +11:00
parent c67bfa31ef
commit a831a85585
2 changed files with 1 additions and 6 deletions

View File

@ -1,8 +1,3 @@
2008-01-24 Ben Elliston <bje@au.ibm.com>
PR other/22232
* fixproto: Escape "." in sed expression that strips leading "./".
2008-01-23 Hans-Peter Nilsson <hp@axis.com>
* config/cris/cris.h (CC1PLUS_SPEC, OPTIMIZATION_OPTIONS): Drop

View File

@ -197,7 +197,7 @@ for code in ALL STD ; do
fi
fi
# Append "/"; remove initial "./". Hence "." -> "" and "sys" -> "sys/".
rel_source_prefix=`echo $rel_source_subdir | sed -e 's|$|/|' -e 's|^\./||'`
rel_source_prefix=`echo $rel_source_subdir | sed -e 's|$|/|' -e 's|^./||'`
case $code in
ALL)