aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xspec-helper2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec-helper b/spec-helper
index a2b4974..35e95e8 100755
--- a/spec-helper
+++ b/spec-helper
@@ -57,7 +57,7 @@ test -z "$DONT_SYMLINK_LIBS" && echo -n "Building libraries symlinks..." && lib_
if test -z "$DONT_GPRINTIFY"; then
scripts=
for f in `ls $RPM_BUILD_ROOT/etc/rc.d/init.d/* $RPM_BUILD_ROOT/etc/init.d/* 2> /dev/null`; do
- test -f $f && grep -q '[[:space:]]*\.[[:space:]]+.*/functions' $f && scripts="$scripts $f"
+ test -f $f && egrep -q '[[:space:]]*\.[[:space:]]+.*/functions' $f && scripts="$scripts $f"
done
if [ -n "$scripts" ]; then
echo -n "Gprintifying init scripts..." && gprintify.py $scripts && echo "done"