From f4e1623043decd25fbe99d994c385b02eb52dc3a Mon Sep 17 00:00:00 2001 From: geoffk Date: Tue, 23 Nov 2004 22:45:53 +0000 Subject: * 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 --- fixincludes/mkfixinc.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fixincludes/mkfixinc.sh') 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} -- cgit v1.2.1