diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-23 22:45:53 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-23 22:45:53 +0000 |
commit | f4e1623043decd25fbe99d994c385b02eb52dc3a (patch) | |
tree | c31fbecbc19ab52c650685fc08553ebf1c2f306f /fixincludes/mkfixinc.sh | |
parent | d50c928e67d2bd64e040ecd7f477d98ac292aaa2 (diff) | |
download | gcc-f4e1623043decd25fbe99d994c385b02eb52dc3a.tar.gz |
* mkfixinc.sh: Check error code from 'cat'. Don't try running
built fixincl program.
* mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
up csh from user.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91109 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/mkfixinc.sh')
-rwxr-xr-x | fixincludes/mkfixinc.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fixincludes/mkfixinc.sh b/fixincludes/mkfixinc.sh index d8b55c1f3f6..ef048f713a4 100755 --- a/fixincludes/mkfixinc.sh +++ b/fixincludes/mkfixinc.sh @@ -35,8 +35,7 @@ case $machine in ;; *) - ../${build_subdir}/fixincludes/fixincl -v < /dev/null - cat < ${srcdir}/fixinc.in > ${target} + cat < ${srcdir}/fixinc.in > ${target} || exit 1 ;; esac chmod 755 ${target} |