[Git][cmucl/cmucl][master] 2 commits: Fix #351: Use grep instead of egrep and update patterns
Raymond Toy pushed to branch master at cmucl / cmucl Commits: ea1f0b32 by Raymond Toy at 2024-08-22T20:20:51+00:00 Fix #351: Use grep instead of egrep and update patterns - - - - - e4b82cb4 by Raymond Toy at 2024-08-22T20:20:54+00:00 Merge branch 'issue-351-solaris-grep' into 'master' Fix #351: Use grep instead of egrep and update patterns Closes #351 See merge request cmucl/cmucl!249 - - - - - 1 changed file: - bin/make-extra-dist.sh Changes: ===================================== bin/make-extra-dist.sh ===================================== @@ -93,13 +93,15 @@ install ${GROUP} ${OWNER} -m 0755 $TARGET/motif/server/motifd \ $DESTDIR/lib/cmucl/lib/ # Install the contrib stuff. Create the directories and then copy the files. - -for d in `(cd src; find contrib -type d -print | grep -E -v "CVS|asdf|defsystem")` +# +# asdf, defsystem and unix are part of the main distribution, so skip +# these directories. +for d in `(cd src; find contrib -type d -print | grep -v "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 | grep -E -v "CVS|asdf|defsystem|unix")` +for f in `(cd src/contrib; find . -type f -print | grep -v "asdf\|defsystem\|unix")` do FILE=`basename $f` DIR=`dirname $f` @@ -108,13 +110,13 @@ done # Install all the locale data. -for d in `(cd src/i18n/; find locale -type d -print | grep -E -v CVS)` +for d in `(cd src/i18n/; find locale -type d -print)` 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 | grep -E -v 'CVS|~.*~|.*~')` +# Install mo files. Ignore any emacs-style backup files. +for f in `(cd $TARGET/i18n; find locale -type f -print | grep -v '~.*~\|.*~')` do FILE=`basename $f` DIR=`dirname $f` @@ -122,7 +124,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 | grep -E -v 'CVS|~.*~|.*~')` +#for f in `(cd $TARGET/i18n; find locale -type f -print | grep -v '~.*~\|.*~')` #do # FILE=`basename $f` # DIR=`dirname $f` View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/0243097544980dde9def2a6... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/0243097544980dde9def2a6... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)