summaryrefslogtreecommitdiff
path: root/gcc/fixproto
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-23 23:26:24 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-23 23:26:24 +0000
commitb46b9e8f5715040449a51333bbd899d7571e8bfc (patch)
treefee2af99bd32b76393563c29f2a9962291c74e11 /gcc/fixproto
parent0ac26f7554a5ea2d7acfbef1887c5ce4b13bdb8b (diff)
downloadgcc-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-xgcc/fixproto2
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)