diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-05-17 07:25:07 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@gcc.gnu.org> | 2011-05-17 07:25:07 +0000 |
commit | 067e2f069d5b5ad051c46766935a42ba59a20d61 (patch) | |
tree | bc58ae2577c6455d25017f1464e7c793f1b24a23 /fixincludes | |
parent | 6528fc569777158cc4349c921b86b5248aec1ab9 (diff) | |
download | gcc-067e2f069d5b5ad051c46766935a42ba59a20d61.tar.gz |
check.tpl: Shell-quote testing file.
2011-05-17 Tristan Gingold <gingold@adacore.com>
* check.tpl: Shell-quote testing file.
From-SVN: r173815
Diffstat (limited to 'fixincludes')
-rw-r--r-- | fixincludes/ChangeLog | 4 | ||||
-rw-r--r-- | fixincludes/check.tpl | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index 57ac148b338..aba71a8c1d7 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -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. 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 ) |