From a170a75475a99170adfb8865cfc0c8e8059ac13b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 7 Mar 2016 09:35:39 +0100 Subject: scl-utils: fix grep usage in macros.scl #1315051 --- macros.scl-filesystem | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros.scl-filesystem') diff --git a/macros.scl-filesystem b/macros.scl-filesystem index 3c418cd..1e51cf9 100644 --- a/macros.scl-filesystem +++ b/macros.scl-filesystem @@ -295,7 +295,7 @@ ln -snf usr/%{_lib} %{_lib} %endif sed -n -f %{buildroot}/iso_639.sed /usr/share/xml/iso-codes/iso_639.xml >%{buildroot}/iso_639.tab sed -n -f %{buildroot}/iso_3166.sed /usr/share/xml/iso-codes/iso_3166.xml >%{buildroot}/iso_3166.tab -grep -v "^$" %{buildroot}/iso_639.tab | grep -v "^#" | while read a b c d ; do +grep -av "^$" %{buildroot}/iso_639.tab | grep -av "^#" | while read a b c d ; do [[ "$d" =~ "^Reserved" ]] && continue [[ "$d" =~ "^No linguistic" ]] && continue locale=$c -- cgit