summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-11-25 22:09:43 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-11-25 22:09:43 +0000
commit1927fc815df4d1373223ac29deba7eb2706a584a (patch)
tree3071b2e7af0d889a3d89922472411990ba5d3cf6
parent9a013c7e8a92566624320896baa1e232ce31d4b3 (diff)
adjust makeopts pathv2.1812
-rw-r--r--src/backend/f_modeswitch.sh2
1 files changed, 1 insertions, 1 deletions
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
}