1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Avoid brute-forcing during the build process to prevent failed builds

The default behavior of the package script is to ignore
errors. This has disastrous effects if any part of ksh
or libast fails to build due to something like a syntax
error, as the build will stop long after the first error
occurred.

This commit removes the -k flag from the $makeflags variable
in both copies of the package script. This forces the build
to fail if a compiler error occurs.

bin/package and src/cmd/INIT/package.sh:
 - Remove the -k assignment to $makeflags so that compiler
   errors cause the build to fail.

(cherry picked from commit 87bfaa19f3d336feb7b7bd4f5d4caf8d553f2547)
This commit is contained in:
Johnothan King 2020-06-08 20:06:51 -07:00 committed by Martijn Dekker
parent c2eabc57e0
commit 22d6b4527d
2 changed files with 2 additions and 2 deletions

View file

@ -567,7 +567,7 @@ ifs=${IFS-'
'}
lo=
make=
makeflags='-k -K'
makeflags='-K'
nmakeflags=
nmakesep=
nl="

View file

@ -566,7 +566,7 @@ ifs=${IFS-'
'}
lo=
make=
makeflags='-k -K'
makeflags='-K'
nmakeflags=
nmakesep=
nl="