Corrected quote formation
authorkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Jun 1999 14:43:44 +0000 (14:43 +0000)
committerkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Jun 1999 14:43:44 +0000 (14:43 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27471 138bc75d-0d04-0410-961f-82ee72b054a4

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

index c09c194..8840413 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 362e548..b993c8b 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"