'build' calls 'stage1'

The check for the exit status of the 'stage1' script was broken.
Change "X$?" != "X0" to "X?" != "X0"
This commit is contained in:
Roger Hardiman 1999-08-27 07:41:25 +00:00
parent ada9bd8cb8
commit 3795f47b11
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=50437

View File

@ -1,7 +1,7 @@
#!/bin/sh -
#
# $Id: build,v 1.14 1999/08/22 21:42:30 dwhite Exp $
# $Id: build,v 1.15 1999/08/23 08:33:07 luigi Exp $
#
# You can set the SRC variable which points to your source tree. It's
# /usr/src by default (most people shouldn't change it).
@ -93,7 +93,7 @@ main() {
echo ""
./stage1 2>&1 | tee stage1.out
if [ "X$?" != "X0" ] ; then
if [ "X?" != "X0" ] ; then
echo ""
echo "-> ERROR in \"${i}\" script. Aborting the build process."
echo -n "-> Cleaning temporary files... "