bison-patches
[Top][All Lists]
Advanced

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

Gnulib changes require lib/uniwidth/


From: Joel E. Denny
Subject: Gnulib changes require lib/uniwidth/
Date: Tue, 10 Jul 2007 20:24:02 -0400 (EDT)

bootstrap from a new checkout currently fails because of recent changes in 
Gnulib.  This patch fixes it for me.  Ok to commit?

Index: ChangeLog
===================================================================
RCS file: /sources/bison/bison/ChangeLog,v
retrieving revision 1.1709
diff -p -u -r1.1709 ChangeLog
--- ChangeLog   10 Jul 2007 02:57:30 -0000      1.1709
+++ ChangeLog   11 Jul 2007 00:17:19 -0000
@@ -1,3 +1,8 @@
+2007-07-10  Joel E. Denny  <address@hidden>
+
+       * bootstrap (slurp): Create target directories that don't exist.
+       Specifically, we need lib/uniwidth/ because of recent Gnulib changes.
+
 2007-07-09  Joel E. Denny  <address@hidden>
 
        * LR0.c (new_itemsets): Fix wording in comments: say item index rather
Index: bootstrap
===================================================================
RCS file: /sources/bison/bison/bootstrap,v
retrieving revision 1.53
diff -p -u -r1.53 bootstrap
--- bootstrap   4 Apr 2007 22:36:54 -0000       1.53
+++ bootstrap   11 Jul 2007 00:17:20 -0000
@@ -395,7 +395,12 @@ slurp() {
     copied=
     sep=
     for file in `ls $1/$dir`; do
-      test -d $1/$dir/$file && continue
+      if test -d $1/$dir/$file; then
+        if test ! -d $dir/$file; then
+          echo "$0: mkdir $dir/$file" && mkdir $dir/$file || exit
+        fi
+        continue
+      fi
       for excluded_file in $excluded_files; do
        test "$dir/$file" = "$excluded_file" && continue 2
       done




reply via email to

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