Commit 24152f4d authored by Raymond Toy's avatar Raymond Toy
Browse files

Merge branch 'issue-245-replace-egrep-with-grep' into 'master'

Fix #245: Replace egrep with grep -E

Closes #245

See merge request !158
parents 0411c386 3e8b0a12
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -48,10 +48,10 @@ CORE='-o -name "*.core"'

if [ -n "$KEEP" ]; then
    case $KEEP in
      lib) GREP='egrep -v'
      lib) GREP='grep -Ev'
	   PATTERN='(gray-streams|gray-compat|simple-streams|iodefs|external-formats|clx|hemlock|clm)-library' ;;
      core) CORE='' ;;
      all) GREP='egrep -v'
      all) GREP='grep -Ev'
	   PATTERN='(gray-streams|gray-compat|simple-streams|iodefs|external-formats|clx|hemlock|clm)-library|(asdf|defsystem)'
	   CORE='' ;;
    esac
+5 −5
Original line number Diff line number Diff line
@@ -94,12 +94,12 @@ install ${GROUP} ${OWNER} -m 0755 $TARGET/motif/server/motifd \

# Install the contrib stuff.  Create the directories and then copy the files.

for d in `(cd src; find contrib -type d -print | egrep -v "CVS|asdf|defsystem")`
for d in `(cd src; find contrib -type d -print | grep -E -v "CVS|asdf|defsystem")`
do
    install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/lib/cmucl/lib/$d
done

for f in `(cd src/contrib; find . -type f -print | egrep -v "CVS|asdf|defsystem|unix")`
for f in `(cd src/contrib; find . -type f -print | grep -E -v "CVS|asdf|defsystem|unix")`
do
    FILE=`basename $f`
    DIR=`dirname $f`
@@ -108,13 +108,13 @@ done

# Install all the locale data.

for d in `(cd src/i18n/; find locale -type d -print | egrep -v CVS)`
for d in `(cd src/i18n/; find locale -type d -print | grep -E -v CVS)`
do
    install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/lib/cmucl/lib/$d
done

# Install mo files.
for f in `(cd $TARGET/i18n; find locale -type f -print | egrep -v 'CVS|~.*~|.*~')`
for f in `(cd $TARGET/i18n; find locale -type f -print | grep -E -v 'CVS|~.*~|.*~')`
do
    FILE=`basename $f`
    DIR=`dirname $f`
@@ -122,7 +122,7 @@ do
done

# Install po files.  (Do we really need to distribute the po files?)
#for f in `(cd $TARGET/i18n; find locale -type f -print | egrep -v 'CVS|~.*~|.*~')`
#for f in `(cd $TARGET/i18n; find locale -type f -print | grep -E -v 'CVS|~.*~|.*~')`
#do
#    FILE=`basename $f`
#    DIR=`dirname $f`