OSDN Git Service

2011-05-17 Tristan Gingold <gingold@adacore.com>
authorgingold <gingold@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 May 2011 07:25:07 +0000 (07:25 +0000)
committergingold <gingold@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 May 2011 07:25:07 +0000 (07:25 +0000)
* check.tpl: Shell-quote testing file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173815 138bc75d-0d04-0410-961f-82ee72b054a4

fixincludes/ChangeLog
fixincludes/check.tpl

index 57ac148..aba71a8 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-17  Tristan Gingold  <gingold@adacore.com>
+
+       * check.tpl: Shell-quote testing file.
+
 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
 
        * mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe.
index b239d8b..a9810e2 100644 (file)
@@ -85,11 +85,8 @@ FOR fix  =][=
                         (get "hackname") )) )
          =][=
   ELSE   =]
-cat >> [=
-    IF (exist? "files") =][=
-      files[0] =][=
-    ELSE =]testing.h[=
-    ENDIF =] <<_HACK_EOF_
+cat >> [= (raw-shell-str (if (exist? "files") (get "files[0]") "testing.h"))
+         =] <<_HACK_EOF_
 
 
 #if defined( [=(. HACK)=]_CHECK )