cookutils rev 944

modules/deps: accelerate files list creation significantly.
On my machine time has decreased from 60 to 2 seconds!
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jun 26 13:57:14 2017 +0300 (2017-06-26)
parents 5595f56612fe
children 79b65c3a4e40
files modules/deps
line diff
     1.1 --- a/modules/deps	Sun Jun 25 19:29:09 2017 +0100
     1.2 +++ b/modules/deps	Mon Jun 26 13:57:14 2017 +0300
     1.3 @@ -35,7 +35,7 @@
     1.4  			action 'Updating %s...' "$(basename $fl)"
     1.5  			# unpack mirror files list
     1.6  			fl_mirror="$(mktemp)"
     1.7 -			lzcat $fl_mirrorz > $fl_mirror
     1.8 +			lzcat $fl_mirrorz | sed '/\.\(so.*\|a\|la\|pc\)$/!d' > $fl_mirror
     1.9  
    1.10  			# remove packages that exist in local list
    1.11  			cut -d: -f1 $fl_local | uniq | \