git://git.jankratochvil.net
/
nethome.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
+{testrun,gdb}.{sum,log}
[nethome.git]
/
bin
/
errs2
1
#! /bin/sh
2
# $Id$
3
4
args=""
5
if [ "$1" = "-a" ];then
6
args="$args $1"
7
shift
8
fi
9
j=""
10
cpus="`getconf _NPROCESSORS_ONLN`"
11
if [ -n "$cpus" ];then
12
j="-j$[$cpus+1]"
13
fi
14
(
15
set -ex
16
time nice make $j "$@"
17
) 2>&1|tee $args errs2