[arch-projects] [PATCH] [devtools] makechrootpkg: load compression-related vars, mostly to allow multi-core compression
11 May
2017
11 May
'17
12:51 p.m.
Compressing large packages on a single core takes much longer than necessary, so loading these vars would save a lot of time. --- makechrootpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makechrootpkg.in b/makechrootpkg.in index 72b7eb7..69b2122 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -91,7 +91,7 @@ load_vars() { [[ -f $makepkg_conf ]] || return 1 - for var in {SRC,SRCPKG,PKG,LOG}DEST MAKEFLAGS PACKAGER; do + for var in {SRC,SRCPKG,PKG,LOG}DEST MAKEFLAGS PACKAGER COMPRESS{{G,X,LR,}Z,BZ2,LZO}; do [[ -z ${!var:-} ]] && eval $(grep "^${var}=" "$makepkg_conf") done -- 2.12.2
2748
Age (days ago)
2748
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bennett Piater