summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-01-26 17:17:37 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-01-26 17:17:37 +0100
commit232b4f3aadd433c688503c9ded99dadada1463b2 (patch)
tree029b08b3cde5d68633bf89bdb0f4d39ee4e74bfa
parentgpg cnof (diff)
downloadn-232b4f3aadd433c688503c9ded99dadada1463b2.tar
n-232b4f3aadd433c688503c9ded99dadada1463b2.tar.gz
n-232b4f3aadd433c688503c9ded99dadada1463b2.tar.bz2
n-232b4f3aadd433c688503c9ded99dadada1463b2.tar.lz
n-232b4f3aadd433c688503c9ded99dadada1463b2.tar.xz
n-232b4f3aadd433c688503c9ded99dadada1463b2.tar.zst
n-232b4f3aadd433c688503c9ded99dadada1463b2.zip
-rw-r--r--etc/portage/make.conf4
-rwxr-xr-xroot/posodobi.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/etc/portage/make.conf b/etc/portage/make.conf
index bba8e78..9126823 100644
--- a/etc/portage/make.conf
+++ b/etc/portage/make.conf
@@ -2,7 +2,7 @@ PORTAGE_SCHEDULING_POLICY="idle"
# -march=native NE SME BITI NA distcc iz očitnih razlogov
# uporabi resolve-march-native
-COMMON_FLAGS="-ggdb3 -O2 -pipe `resolve-march-native`"
+COMMON_FLAGS="-ggdb3 -O2 -pipe $(resolve-march-native)"
# -pipe rabi RAM
CFLAGS="${COMMON_FLAGS} -DALLOW_RUN_AS_ROOT" # VLC
CXXFLAGS="${COMMON_FLAGS} -DOLAD_SKIP_ROOT_CHECK"
@@ -17,7 +17,7 @@ PKGDIR="/var/cache/binpkgs"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
-MAKEOPTS="-j`nproc` -l`nproc`"
+MAKEOPTS="-j$(nproc) -l$(nproc)"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://packages.hs-regensburg.de/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.tu-ilmenau.de/mirror/gentoo/ http://ftp.fau.de/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
# mirrorselect -i -o >> /etc/portage/make.conf
diff --git a/root/posodobi.sh b/root/posodobi.sh
index 3d0cdf6..8d2d4cd 100755
--- a/root/posodobi.sh
+++ b/root/posodobi.sh
@@ -1,8 +1,8 @@
#!/bin/bash
set -e
f=
-grep "--no-sync" <<<"@$" || emaint sync --auto
-grep "--no-ask" <<<"@$" || f=--ask
+grep "no-sync" <<<"$@" || emaint sync --auto
+grep "no-ask" <<<"$@" || f=--ask
emerge --verbose --update $f --newuse --changed-use --backtrack 30 --deep @world
emerge @preserved-rebuild
emerge --depclean