diff options
author | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-24 20:52:56 +0000 |
---|---|---|
committer | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-24 20:52:56 +0000 |
commit | 98bdcbcf6d7802db17dc8919112b21e2d323b418 (patch) | |
tree | 3a382fd5a10845c9feb28bd4a361df4e86cf42d6 /gcc/fixproto | |
parent | c05c4be31ea4fd8502bfd657983b0900a986cc19 (diff) | |
download | gcc-98bdcbcf6d7802db17dc8919112b21e2d323b418.tar.gz |
Committed with RM approval this time.
PR other/22232
* fixproto: Escape "." in sed expression that strips leading "./".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131809 138bc75d-0d04-0410-961f-82ee72b054a4
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 a12349e5d9e..d1a32bd43dc 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) |