summaryrefslogtreecommitdiffstats
path: root/gcc/fixinc/inclhack.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fixinc/inclhack.sh')
-rwxr-xr-xgcc/fixinc/inclhack.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fixinc/inclhack.sh b/gcc/fixinc/inclhack.sh
index b4ba924f285..055c20e514c 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"
OpenPOWER on IntegriCloud