summaryrefslogtreecommitdiffstats
path: root/macros.scl-filesystem
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-07 09:35:39 +0100
committerRemi Collet <fedora@famillecollet.com>2016-03-07 09:35:39 +0100
commita170a75475a99170adfb8865cfc0c8e8059ac13b (patch)
tree8f095deb19bf2ae21e82256c45882a6e327f41c6 /macros.scl-filesystem
parentc9139438e79b4a25a43fee1c32f7eacf6d43959c (diff)
scl-utils: fix grep usage in macros.scl #1315051
Diffstat (limited to 'macros.scl-filesystem')
-rw-r--r--macros.scl-filesystem2
1 files changed, 1 insertions, 1 deletions
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