[gimp] use grep -E instead of egrep
Nils Philippsen
nphilipp at fedoraproject.org
Tue Nov 26 16:49:14 UTC 2013
commit 5431b917fc97850b1d04dffed330292d1704725e
Author: Nils Philippsen <nils at redhat.com>
Date: Tue Nov 26 17:48:58 2013 +0100
use grep -E instead of egrep
gimp.spec | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gimp.spec b/gimp.spec
index 4bcafc6..7131d71 100644
--- a/gimp.spec
+++ b/gimp.spec
@@ -455,7 +455,7 @@ ln -snf gimprc-%{binver}.5 %{buildroot}/%{_mandir}/man5/gimprc.5
# Hardcode python interpreter in shipped python plug-ins. This actually has no
# effect because gimp maps hashbangs with and without the /usr/bin/env detour
# to the system python interpreter, but this will avoid false alarms.
-egrep -rl '^#!\s*%{_bindir}/env\s+python' --include=\*.py "%buildroot" |
+grep -E -rl '^#!\s*%{_bindir}/env\s+python' --include=\*.py "%buildroot" |
while read file; do
sed -r '1s,^#!\s*%{_bindir}/env\s+python,#!%{__python},' -i "$file"
done
@@ -623,6 +623,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%endif
%changelog
+* Tue Nov 26 2013 Nils Philippsen <nils at redhat.com>
+- use grep -E instead of egrep
+
* Fri Nov 08 2013 Nils Philippsen <nils at redhat.com> - 2:2.8.8-3
- file-bmp: don't close already closed FD
More information about the scm-commits
mailing list