Committed with RM approval this time.

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

From-SVN: r131809
This commit is contained in:
Ben Elliston 2008-01-24 20:52:56 +00:00 committed by Ben Elliston
parent 3fe82414fe
commit ae7a8ebc89
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-01-25 Ben Elliston <bje@au.ibm.com>
PR other/22232
* fixproto: Escape "." in sed expression that strips leading "./".
2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
PR driver/34904

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)