]> gcc.gnu.org Git - gcc.git/commitdiff
Pass '-' to tr as the 1-character range '---'.
authorPer Bothner <bothner@gcc.gnu.org>
Tue, 27 Jul 1993 22:45:09 +0000 (15:45 -0700)
committerPer Bothner <bothner@gcc.gnu.org>
Tue, 27 Jul 1993 22:45:09 +0000 (15:45 -0700)
From-SVN: r5009

gcc/fixproto

index 02b9af3272b497166fb75d8fd94fe5f4fcf88baa..98b8495fe042e2a26d474fd9cc5b16a0bf372697 100755 (executable)
@@ -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}
This page took 0.064837 seconds and 5 git commands to generate.