diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | bootstrap | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -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. @@ -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 *//* | */../* | */./* | /*/*/*/*/*/) |