summaryrefslogtreecommitdiff
path: root/fixincludes/mkheaders.in
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-23 22:45:53 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-23 22:45:53 +0000
commitf4e1623043decd25fbe99d994c385b02eb52dc3a (patch)
treec31fbecbc19ab52c650685fc08553ebf1c2f306f /fixincludes/mkheaders.in
parentd50c928e67d2bd64e040ecd7f477d98ac292aaa2 (diff)
downloadgcc-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/mkheaders.in')
-rw-r--r--fixincludes/mkheaders.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/fixincludes/mkheaders.in b/fixincludes/mkheaders.in
index 7216e9aca4b..8330ac47454 100644
--- a/fixincludes/mkheaders.in
+++ b/fixincludes/mkheaders.in
@@ -77,7 +77,7 @@ rm -rf ${incdir}/*
if [ x${STMP_FIXINC} != x ] ; then
TARGET_MACHINE="${target}" target_canonical="${target}" \
MACRO_LIST="${itoolsdatadir}/macro_list" \
- ${SHELL} ./fixinc.sh ${incdir} \
+ @SHELL@ ./fixinc.sh ${incdir} \
${SYSTEM_HEADER_DIR} ${OTHER_FIXINCLUDES_DIRS}
rm -f ${incdir}/syslimits.h
if [ -f ${incdir}/limits.h ]; then
@@ -90,7 +90,7 @@ fi
cp ${itoolsdatadir}/include/* ${incdir}
if [ x${STMP_FIXPROTO} != x ] ; then
- mkinstalldirs="${SHELL} ${itoolsdir}/mkinstalldirs"
+ mkinstalldirs="@SHELL@ ${itoolsdir}/mkinstalldirs"
export FIXPROTO_DEFINES mkinstalldirs
- ${SHELL} fixproto ${incdir} ${incdir} ${SYSTEM_HEADER_DIR} || exit 1
+ @SHELL@ fixproto ${incdir} ${incdir} ${SYSTEM_HEADER_DIR} || exit 1
fi