Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cmucl
cmucl
Commits
629ad2c0
Commit
629ad2c0
authored
Dec 10, 2008
by
agoncharov
Browse files
Exit with an error code 1 on bad errors.
parent
29f1fd98
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/build.sh
View file @
629ad2c0
...
...
@@ -114,20 +114,17 @@ buildit ()
if
[
"
$ENABLE
"
=
"yes"
]
;
then
$TOOLDIR
/clean-target.sh
$CLEAN_FLAGS
$TARGET
$TIMER
$TOOLDIR
/build-world.sh
$TARGET
$OLDLISP
$BOOT
(
cd
$TARGET
/lisp
;
$MAKE
)
$TOOLDIR
/clean-target.sh
$CLEAN_FLAGS
$TARGET
||
{
echo
"Failed:
$TOOLDIR
/clean-target.sh"
;
exit
1
;
}
$TIMER
$TOOLDIR
/build-world.sh
$TARGET
$OLDLISP
$BOOT
||
{
echo
"Failed:
$TOOLDIR
/build-world.sh"
;
exit
1
;
}
$MAKE
-C
$TARGET
/lisp
||
{
echo
"Failed:
$MAKE
-C
$TARGET
/lisp"
;
exit
1
;
}
if
[
"
$BUILD_WORLD2
"
=
"yes"
]
;
then
$TOOLDIR
/build-world.sh
$TARGET
$OLDLISP
fi
$TOOLDIR
/load-world.sh
$TARGET
"
$VERSION
"
if
ls
$TARGET
/lisp/lisp
*
.core 2>&1
>
/dev/null
;
then
true
else
echo
"Failed to build
$TARGET
!"
exit
1
$TOOLDIR
/build-world.sh
$TARGET
$OLDLISP
||
{
echo
"Failed:
$TOOLDIR
/build-world.sh"
;
exit
1
;
}
fi
$TOOLDIR
/load-world.sh
$TARGET
"
$VERSION
"
||
{
echo
"Failed:
$TOOLDIR
/load-world.sh"
;
exit
1
;
}
$TARGET
/lisp/lisp
-batch
-noinit
$FPU_MODE
< /dev/null
||
{
echo
"Failed:
$TARGET
/lisp/lisp -batch -noinit
$FPU_MODE
"
;
exit
1
;
}
return
0
;
fi
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment