Fix detection of the cross2 branch

This commit is contained in:
Pierre Labastie 2020-06-10 20:58:33 +00:00
parent ebe1ba613c
commit 6447575192

2
jhalfs
View file

@ -458,7 +458,7 @@ if [[ "$REBUILD_MAKEFILE" = "n" ]] ; then
# the position of gcc-pass2 (chapter 6 or 5) tells us (not valid for # the position of gcc-pass2 (chapter 6 or 5) tells us (not valid for
# cross-chap5 branch). # cross-chap5 branch).
if (( TEST == 3 )) && \ if (( TEST == 3 )) && \
[ -f "$JHALFSDIR/${PROGNAME}-commands/chapter06/gcc-pass2.xml" ]; then [ -f "$BOOK/chapter06/gcc-pass2.xml" ]; then
TEST=2 TEST=2
fi fi
extract_commands extract_commands