]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Corrected quote formation
authorBruce Korb <korbb@gcc.gnu.org>
Thu, 10 Jun 1999 14:43:44 +0000 (14:43 +0000)
committerBruce Korb <korbb@gcc.gnu.org>
Thu, 10 Jun 1999 14:43:44 +0000 (14:43 +0000)
From-SVN: r27471

gcc/fixinc/fixincl.x
gcc/fixinc/inclhack.sh

index c09c1941a7901ad2f4f04144d14a37842f73b035..88404134cf1f165a3653aad5d33dc8c9401f84ca 100644 (file)
@@ -606,7 +606,7 @@ tSCC zNo_Double_SlashSelect0[] =
  *  perform the 'test' shell command - do fix on success
  */
 tSCC zNo_Double_SlashTest0[] =
-       " -z \"`echo ${file} | egrep '(CC|cxx|++)/' `\"";
+       " -z \"`echo ${file} | egrep '(CC|cxx|\\+\\+)/'`\"";
 
 #define    NO_DOUBLE_SLASH_TEST_CT  2
 #define    NO_DOUBLE_SLASH_RE_CT    1
index 362e5483d818360ed0169df665d3f01fd32a6b3b..b993c8bffdaafc678eeb799ace7cdab5a18fbd44 100755 (executable)
@@ -748,7 +748,7 @@ struct rusage;
     # Fix  17:  No_Double_Slash
     #
     if ( test -n "`egrep '(^|[^:])//[^\"*]' ${file}`" -a \
-              '('  -z "`echo ${file} | egrep '(CC|cxx|++)/' `" ')'
+              '('  -z "`echo ${file} | egrep '(CC|cxx|\+\+)/'`" ')'
        ) > /dev/null 2>&1 ; then
     fixlist="${fixlist}
       no_double_slash"