diff options
author | Ben Elliston <bje@au.ibm.com> | 2008-01-24 20:52:56 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2008-01-25 07:52:56 +1100 |
commit | ae7a8ebc899c56617cd370ec3910d3e7702ba37e (patch) | |
tree | 3a382fd5a10845c9feb28bd4a361df4e86cf42d6 /gcc/fixproto | |
parent | 3fe82414fe09ce30d5dac1534b93a99b31e3e59a (diff) | |
download | gcc-ae7a8ebc899c56617cd370ec3910d3e7702ba37e.zip gcc-ae7a8ebc899c56617cd370ec3910d3e7702ba37e.tar.gz gcc-ae7a8ebc899c56617cd370ec3910d3e7702ba37e.tar.bz2 |
Committed with RM approval this time.
PR other/22232
* fixproto: Escape "." in sed expression that strips leading "./".
From-SVN: r131809
Diffstat (limited to 'gcc/fixproto')
-rwxr-xr-x | gcc/fixproto | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fixproto b/gcc/fixproto index a12349e..d1a32bd 100755 --- a/gcc/fixproto +++ b/gcc/fixproto @@ -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) |