summaryrefslogtreecommitdiff
path: root/gcc/fixproto
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-07-27 22:45:09 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-07-27 22:45:09 +0000
commita58cb5adfdc9fe1dec5dcdb9303b0fb44858eb10 (patch)
tree2e54866396d28c447904878220a1190cf3e7a713 /gcc/fixproto
parentc6e59b1cd471bd89c977a76d9de9ab1ad26a7674 (diff)
downloadgcc-a58cb5adfdc9fe1dec5dcdb9303b0fb44858eb10.tar.gz
Pass '-' to tr as the 1-character range '---'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5009 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixproto')
-rwxr-xr-xgcc/fixproto4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fixproto b/gcc/fixproto
index 02b9af3272b..98b8495fe04 100755
--- a/gcc/fixproto
+++ b/gcc/fixproto
@@ -167,7 +167,7 @@ if [ `echo $* | wc -w` != 0 ] ; then
echo $abs_target_file exists, $abs_source_file is ignored
else
# echo doing $rel_source_file from $abs_source_dir
- rel_source_ident=`echo $rel_source_file | tr ./- ___`
+ rel_source_ident=`echo $rel_source_file | tr ./--- ___`
required_list=`eval echo '${required_'${rel_source_ident}'-}'`
extra_check_list=`eval echo '${extra_check_'${rel_source_ident}'-}'`
rm -f tmp.c tmp.i
@@ -221,7 +221,7 @@ do
then true
else
echo Adding missing $rel_source_file
- rel_source_ident=`echo $rel_source_file | tr ./- ___`
+ rel_source_ident=`echo $rel_source_file | tr ./--- ___`
required_list=`eval echo '${required_'${rel_source_ident}'-}'`
cat >tmp.h <<EOF
#ifndef ${rel_source_ident}