From 1927fc815df4d1373223ac29deba7eb2706a584a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 25 Nov 2018 22:09:43 +0000 Subject: adjust makeopts path --- src/backend/f_modeswitch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/f_modeswitch.sh b/src/backend/f_modeswitch.sh index a0accf1..f637eb3 100644 --- a/src/backend/f_modeswitch.sh +++ b/src/backend/f_modeswitch.sh @@ -58,7 +58,7 @@ setjobs () { einfo "I am setting portage to use $(getconf _NPROCESSORS_ONLN) jobs to compile packages" # default MAKEOPTS value is -j64, but that's overkill for lower spec machines # this will adjust MAKEOPTS to a value detected by $(getconf _NPROCESSORS_ONLN) - sed -i "s/\-j64/\-j$(getconf _NPROCESSORS_ONLN)/g" "$jailportcfgtarget"/global.conf/makeopts.conf # global makeopts (exclude kernel) + sed -i "s/\-j64/\-j$(getconf _NPROCESSORS_ONLN)/g" "$jailportcfgtarget"/make.conf/makeopts.conf # global makeopts (exclude kernel) sed -i "s/\-j64/\-j$(getconf _NPROCESSORS_ONLN)/g" "$jailportcfgtarget"/env/makenoise.conf # kernel makeopts } -- cgit v1.2.3