'Nice' the build process.

Give a lower priority to the build process, so that sbopkg
becomes less a resource hog when left working in background.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
This commit is contained in:
mauro.giachero 2009-05-07 10:13:41 +00:00
parent ea887535c4
commit 7fabdd8f97

View file

@ -2386,7 +2386,7 @@ build_package() {
( # Run the build in a subshell, to avoid namespace pollution
[[ $BUILDOPTIONS ]] && eval "export $BUILDOPTIONS"
export OUTPUT=$SB_OUTPUT
sh $PKGNAME.SlackBuild.build
nice sh $PKGNAME.SlackBuild.build
)
# Cleanup