summaryrefslogtreecommitdiff
path: root/scripts/mono-find-provides
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2009-12-16 23:14:04 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-12-17 10:43:52 +0200
commit79b0ebedc13185f2d85e688d8cd4e007ddea70e1 (patch)
tree5ff4ae70723fe35fd86f4316b40a74497f07bd15 /scripts/mono-find-provides
parentedac0476a8ea3fbd1d86df2667a1b62d831b2653 (diff)
downloadlibrpm-tizen-79b0ebedc13185f2d85e688d8cd4e007ddea70e1.tar.gz
librpm-tizen-79b0ebedc13185f2d85e688d8cd4e007ddea70e1.tar.bz2
librpm-tizen-79b0ebedc13185f2d85e688d8cd4e007ddea70e1.zip
Use grep -E and grep -F instead of egrep and fgrep.
egrep and fgrep are deprecated in GNU grep and "historical" in POSIX.
Diffstat (limited to 'scripts/mono-find-provides')
-rw-r--r--scripts/mono-find-provides2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mono-find-provides b/scripts/mono-find-provides
index 2c808a038..9348457d3 100644
--- a/scripts/mono-find-provides
+++ b/scripts/mono-find-provides
@@ -11,7 +11,7 @@
IFS=$'\n'
filelist=($(grep -Ev '/usr/doc/|/usr/share/doc/'))
-monolist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.(exe|dll)\$"))
+monolist=($(printf "%s\n" "${filelist[@]}" | grep -E "\\.(exe|dll)\$"))
# If monodis is in the package being installed, use that one
# This is to support building mono