summaryrefslogtreecommitdiff
path: root/fixincludes/check.tpl
diff options
context:
space:
mode:
authorgingold <gingold@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-17 07:25:07 +0000
committergingold <gingold@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-17 07:25:07 +0000
commitba2d1acbf21efe6c51e9713b1a1b61bac769baf3 (patch)
treebc58ae2577c6455d25017f1464e7c793f1b24a23 /fixincludes/check.tpl
parent4188df43bfc8ac3d2e1967fc6778a23ff281f577 (diff)
downloadlinaro-gcc-ba2d1acbf21efe6c51e9713b1a1b61bac769baf3.tar.gz
linaro-gcc-ba2d1acbf21efe6c51e9713b1a1b61bac769baf3.tar.bz2
linaro-gcc-ba2d1acbf21efe6c51e9713b1a1b61bac769baf3.zip
2011-05-17 Tristan Gingold <gingold@adacore.com>
* check.tpl: Shell-quote testing file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173815 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/check.tpl')
-rw-r--r--fixincludes/check.tpl7
1 files changed, 2 insertions, 5 deletions
diff --git a/fixincludes/check.tpl b/fixincludes/check.tpl
index b239d8b5598..a9810e28a8f 100644
--- a/fixincludes/check.tpl
+++ b/fixincludes/check.tpl
@@ -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 )