My recent patch to ./bootstrap to add the --copy option mishandles the
file INSTALL in some cases.  I installed this:

2006-10-11  Paul Eggert  <[EMAIL PROTECTED]>

        * bootstrap (symlink_to_gnulib): Fix bug: the dot_dots shell
        variable was sometimes used without being initialized.  This
        messed up the installation of the INSTALL file in some cases.

--- bootstrap   9 Oct 2006 20:33:38 -0000       1.20
+++ bootstrap   11 Oct 2006 23:01:25 -0000
@@ -274,8 +274,9 @@
       src_ls=`ls -diL "$src" 2>/dev/null` && set $src_ls && src_i=$1 &&
       dst_ls=`ls -diL "$dst" 2>/dev/null` && set $dst_ls && dst_i=$1 &&
       test "$src_i" = "$dst_i" || {
+       dot_dots=
        case $src in
-       /*) dot_dots=;;
+       /*) ;;
        *)
          case /$dst/ in
          *//* | */../* | */./* | /*/*/*/*/*/)


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to