From: Bruce Korb Date: Thu, 10 Jun 1999 14:43:44 +0000 (+0000) Subject: Corrected quote formation X-Git-Tag: releases/libgcj-2.95.0~191 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a726fc16f70ba230cee347c2d40223b74f612fc;p=thirdparty%2Fgcc.git Corrected quote formation From-SVN: r27471 --- diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x index c09c1941a790..88404134cf1f 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 362e5483d818..b993c8bffdaa 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"