From: Paul Eggert Date: Wed, 11 Oct 2006 23:03:55 +0000 (+0000) Subject: * bootstrap (symlink_to_gnulib): Fix bug: the dot_dots shell X-Git-Tag: COREUTILS-6_4~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90224c66391b276d6ead17311b9e810600e027e4;p=thirdparty%2Fcoreutils.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 6c1506d361..0da30e1580 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-10-11 Paul Eggert + + * 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 * src/ls.c (usage): Correct description of -s, --size. diff --git a/bootstrap b/bootstrap index 118156dfdd..a2d4faa0ad 100755 --- 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 *//* | */../* | */./* | /*/*/*/*/*/)