diff options
author | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-23 23:26:24 +0000 |
---|---|---|
committer | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-23 23:26:24 +0000 |
commit | b46b9e8f5715040449a51333bbd899d7571e8bfc (patch) | |
tree | fee2af99bd32b76393563c29f2a9962291c74e11 /gcc/fixproto | |
parent | 0ac26f7554a5ea2d7acfbef1887c5ce4b13bdb8b (diff) | |
download | gcc-b46b9e8f5715040449a51333bbd899d7571e8bfc.tar.gz |
PR other/22232
* fixproto: Escape "." in sed expression that strips leading "./".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131768 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) |