bug-coreutils
[Top][All Lists]
Advanced

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

bootstrap patch for INSTALL


From: Paul Eggert
Subject: bootstrap patch for INSTALL
Date: Wed, 11 Oct 2006 16:02:53 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

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  <address@hidden>

        * 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
          *//* | */../* | */./* | /*/*/*/*/*/)




reply via email to

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