From 7fabdd8f9791abe08f1a9615883c4f4bd2f14ba3 Mon Sep 17 00:00:00 2001 From: "mauro.giachero" Date: Thu, 7 May 2009 10:13:41 +0000 Subject: [PATCH] '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 --- src/usr/sbin/sbopkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usr/sbin/sbopkg b/src/usr/sbin/sbopkg index 63d9fb6..ad93cd5 100755 --- a/src/usr/sbin/sbopkg +++ b/src/usr/sbin/sbopkg @@ -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