]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* bootstrap (symlink_to_gnulib): Fix bug: the dot_dots shell
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Oct 2006 23:03:55 +0000 (23:03 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Oct 2006 23:03:55 +0000 (23:03 +0000)
variable was sometimes used without being initialized.  This
messed up the installation of the INSTALL file in some cases.

ChangeLog
bootstrap

index 6c1506d361a3f389ada3b78f1265b4ac68412865..0da30e158077de1bf9430ad6782c615fd93287f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * 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.
+
 2006-10-11  Jim Meyering  <jim@meyering.net>
 
        * src/ls.c (usage): Correct description of -s, --size.
index 118156dfdd56ddeae92a7b92e1e2af33d04294cd..a2d4faa0adfe1a172581ecec3d49d660c718b5d3 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -274,8 +274,9 @@ symlink_to_gnulib()
       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
          *//* | */../* | */./* | /*/*/*/*/*/)