diff options
author | Jim Meyering <meyering@redhat.com> | 2010-06-10 23:33:17 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-06-11 08:01:18 +0200 |
commit | 155c8148ae06dcbbdfb85837e4aebe0080b71d2a (patch) | |
tree | f0d1ba998bfe070c3a06a952b3dc9d18c3e8d0f7 | |
parent | ea615bf8cdc59c73288577fb135d6f2ead500ebe (diff) | |
download | coreutils-155c8148ae06dcbbdfb85837e4aebe0080b71d2a.tar.xz |
build: don't let a large sparse temporary file cause "make dist" to fail
* bootstrap.conf (bootstrap_epilogue): Replace the offending grep
command from po/Makefile.in.in's $(DOMAIN).pot-update rule.
-rw-r--r-- | bootstrap.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf index 576d308dc..6e85c9a30 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -337,4 +337,15 @@ bootstrap_epilogue() m=gnulib-tests/gnulib.mk sed 's,\.\./\.\.,..,g' $m > $m-t mv -f $m-t $m + + # Since this is a "GNU" package, replace this line + # if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null \ + # | grep -v 'libtool:' >/dev/null; then + # with this: + # if true; then + # Why? That pipeline searches all files in $(top_srcdir), and if you + # happen to have large files (or apparently large sparse files), the + # first grep may well run out of memory. + perl -pi -e 's/if LC_ALL=C grep .GNU .PACKAGE.*; then/if true; then/' \ + po/Makefile.in.in } |