From bd77f790c7cf2763f4d59504fdb38a7b353a1111 Mon Sep 17 00:00:00 2001 From: Nicolas Mailhot Date: Dec 01 2009 21:03:51 +0000 Subject: repo-font-audit: defensive libmagic string testing++ --- diff --git a/bin/repo-font-audit b/bin/repo-font-audit index bb95bfe..4f1d6e5 100755 --- a/bin/repo-font-audit +++ b/bin/repo-font-audit @@ -767,7 +767,7 @@ echo -n "— " "$DATADIR/test-info" libmagic title awk -F '|' '(NR > 1) && ($16 != "Link") && ($24!="X") && \ - (tolower($16) !~ / font /)' "$FL" > tmp/tmp.csv + (tolower(" " $16 " ") !~ / font /)' "$FL" > tmp/tmp.csv list_rpm tmp/tmp.csv test_wrapup libmagic tmp/tmp.csv "$TSUM"