|
|
@ -15,8 +15,20 @@ logfile=$(mktemp makelog.XXXXXX) |
|
|
|
trap "rm -f $logfile" EXIT |
|
|
|
|
|
|
|
params="$*" |
|
|
|
|
|
|
|
pushd root |
|
|
|
test -d .git || git init |
|
|
|
git add . |
|
|
|
git commit -a -m"- before $params" |
|
|
|
popd |
|
|
|
|
|
|
|
time make $params 2>&1 | tee $logfile |
|
|
|
|
|
|
|
pushd root |
|
|
|
git add . |
|
|
|
git commit -a -m"- after $params" |
|
|
|
popd |
|
|
|
|
|
|
|
mkdir -p build_tmp |
|
|
|
echo -e "\nmake $*:\n" >> build_tmp/make_${params// /_}.log |
|
|
|
cat $logfile >> build_tmp/make_${params// /_}.log |
|
|
|