aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixproto
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1993-07-27 15:45:09 -0700
committerPer Bothner <bothner@gcc.gnu.org>1993-07-27 15:45:09 -0700
commitfd602e5abbe02bfeb230310fa06a6423a3d978cc (patch)
tree2e54866396d28c447904878220a1190cf3e7a713 /gcc/fixproto
parentcefd15ce400f0786aef5bcf6f9df309fa9925f0c (diff)
downloadgcc-fd602e5abbe02bfeb230310fa06a6423a3d978cc.zip
gcc-fd602e5abbe02bfeb230310fa06a6423a3d978cc.tar.gz
gcc-fd602e5abbe02bfeb230310fa06a6423a3d978cc.tar.bz2
Pass '-' to tr as the 1-character range '---'.
From-SVN: r5009
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 02b9af3..98b8495 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}