[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: recent gnulib changes require coreutils adaptations

From: Paul Eggert
Subject: Re: recent gnulib changes require coreutils adaptations
Date: Fri, 13 Jul 2007 11:18:44 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Jim Meyering <address@hidden> writes:

> I had to make some changes in order to get coreutils'
> bootstrap procedure to succeed once again:

That didn't quite work for me:

   $ ./bootstrap --gnulib-srcdir=../gnulib
   ./bootstrap: Bootstrapping from checked-out coreutils sources...
   ./bootstrap: ln -fs ../../gnulib/lib/yesno.c lib/yesno.c
   ./bootstrap: ln -fs ../../gnulib/lib/yesno.h lib/yesno.h
   ./bootstrap: cp -f ._bootmp/lib/uniwidth/.gitignore lib/uniwidth/.gitignore
   ./bootstrap: line 354: lib/uniwidth/.gitignore: No such file or directory

The following patch worked around the problem, though I admit I didn't
try to understand the changes you made.

* bootstrap (slurp): Make sure destination directory exists.
diff --git a/bootstrap b/bootstrap
index 442309c..4ca95e1 100755
--- a/bootstrap
+++ b/bootstrap
@@ -396,6 +396,7 @@ slurp() {
       for excluded_file in $excluded_files; do
        test "$dir/$file" = "$excluded_file" && continue 2
+      test -d $dir || mkdir -p $dir || exit
       if test $file = Makefile.am; then
         copied=$copied${sep}$gnulib_mk; sep=$nl
M ChangeLog
M bootstrap
Committed as 651a1d12aab2659a8b5b82172f7c8e0ab5ba96b2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]