diff options
author | Geoffrey Keating <geoffk@apple.com> | 2004-11-23 22:45:53 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2004-11-23 22:45:53 +0000 |
commit | b2cfdb12c2501e363ca16a497df70c7459da3ef4 (patch) | |
tree | c31fbecbc19ab52c650685fc08553ebf1c2f306f /fixincludes/mkfixinc.sh | |
parent | 91d9ede4ef0bd904b21dd49621f3df13be8c9254 (diff) |
mkfixinc.sh: Check error code from 'cat'.
* 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.
From-SVN: r91109
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} |