aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBruce Korb <korbb@gcc.gnu.org>1999-06-10 14:43:44 +0000
committerBruce Korb <korbb@gcc.gnu.org>1999-06-10 14:43:44 +0000
commit9a726fc16f70ba230cee347c2d40223b74f612fc (patch)
tree52d1168b5b5a9dabce3ae5f860b7f86615d4acb7 /gcc
parentb45293b5210642da7bfea2d3dcc7ba2157c87284 (diff)
downloadgcc-9a726fc16f70ba230cee347c2d40223b74f612fc.zip
gcc-9a726fc16f70ba230cee347c2d40223b74f612fc.tar.gz
gcc-9a726fc16f70ba230cee347c2d40223b74f612fc.tar.bz2
Corrected quote formation
From-SVN: r27471
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fixinc/fixincl.x2
-rwxr-xr-xgcc/fixinc/inclhack.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x
index c09c194..8840413 100644
--- a/gcc/fixinc/fixincl.x
+++ b/gcc/fixinc/fixincl.x
@@ -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
diff --git a/gcc/fixinc/inclhack.sh b/gcc/fixinc/inclhack.sh
index 362e548..b993c8b 100755
--- a/gcc/fixinc/inclhack.sh
+++ b/gcc/fixinc/inclhack.sh
@@ -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"