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 | |
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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rwxr-xr-x | gcc/fixproto | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 40a5823..f24d973 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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) |