]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
check.tpl: Shell-quote testing file.
authorTristan Gingold <gingold@adacore.com>
Tue, 17 May 2011 07:25:07 +0000 (07:25 +0000)
committerTristan Gingold <gingold@gcc.gnu.org>
Tue, 17 May 2011 07:25:07 +0000 (07:25 +0000)
2011-05-17  Tristan Gingold  <gingold@adacore.com>

* check.tpl: Shell-quote testing file.

From-SVN: r173815

fixincludes/ChangeLog
fixincludes/check.tpl

index 57ac148b338cbe1a4c9533e6b0ac1fe4c61ee714..aba71a8c1d7ecbb31e557a761a313b7785cbb8f9 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 b239d8b5598a4139b91c3af240229456beee8adb..a9810e28a8fa8f668f31ca91a51760846cfb2e9a 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 )