xbps-src: make makejobs work again for tmpls with custom do_build().

This commit is contained in:
Juan RP 2011-10-25 09:59:04 +02:00
parent 917c78a25a
commit 0bfacff19e
3 changed files with 5 additions and 4 deletions

View file

@ -5,9 +5,6 @@ do_build() {
if [ -z "$make_cmd" ]; then
make_cmd=make
fi
if [ -n "$XBPS_MAKEJOBS" -a -z "$disable_parallel_build" ]; then
makejobs="-j$XBPS_MAKEJOBS"
fi
${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
}