PiDP-8/I SoftwareCheck-in [8eab979d44]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Quoted an argument to "test -z": if the arg is empty, it must be quoted to give an empty argument rather than just disappear in the shell processing.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8eab979d44e72fc279ce30ef801dbee28663d27d0bb9c965e20eee6172d52aa3
User & Date: tangent 2019-09-22 08:46:42
Context
2019-09-22
08:48
Added "bsdmake" to the list of "make" flavors checked for by tools/mmake. The PiDP-8/I build system won't build with BSD make, but these scripts may be used in other projects, and BSD make does understand the -j option. check-in: eec38b61e1 user: tangent tags: trunk
08:46
Quoted an argument to "test -z": if the arg is empty, it must be quoted to give an empty argument rather than just disappear in the shell processing. check-in: 8eab979d44 user: tangent tags: trunk
2019-09-10
22:51
Explained why tab size 4 with spaces is important in the C style guide. check-in: 530ae2d758 user: tangent tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tools/mmake.

29
30
31
32
33
34
35
36
37
38
# authorization from those authors.
########################################################################

MAKE=make
MAKE=$(which gmake make 2> /dev/null | head -1)

BDIR="$(dirname "$0")"
if [ -z $BDIR ] ; then BDIR="$(dirname "$(which "$0")")" ; fi

$MAKE -j$(($("$BDIR"/corecount) * 15 / 10)) "$@"







|


29
30
31
32
33
34
35
36
37
38
# authorization from those authors.
########################################################################

MAKE=make
MAKE=$(which gmake make 2> /dev/null | head -1)

BDIR="$(dirname "$0")"
if [ -z "$BDIR" ] ; then BDIR="$(dirname "$(which "$0")")" ; fi

$MAKE -j$(($("$BDIR"/corecount) * 15 / 10)) "$@"