use grep-dctrl more efficiently

This commit is contained in:
Steve McIntyre 2011-06-10 16:18:30 +00:00
parent 046e97f1c8
commit 3ea05ce326
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ rm -rf $TMPDIR/firmware
mkdir -p $TMPDIR/firmware
FILES=`zcat ${MIRROR}/dists/${SUITE}/*/binary-*/Packages.gz | \
grep-dctrl -Pe '.*(firmware|microcode).*' -s Filename | sort -u | awk '{print $2}'`
grep-dctrl -Pe '.*(firmware|microcode).*' -s Filename -n | sort -u`
for FILE in $FILES; do
# Don't use "grep -q" here, it causes errors from tar