summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-10-11 23:03:55 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-10-11 23:03:55 +0000
commit90224c66391b276d6ead17311b9e810600e027e4 (patch)
tree92106def89c2cba8f7ba22a1ffd4e4b6170a6c16 /bootstrap
parent8202f4d6d5e8c7d91801f2343fd42638be1f6ff3 (diff)
downloadcoreutils-90224c66391b276d6ead17311b9e810600e027e4.tar.xz
* 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.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 118156dfd..a2d4faa0a 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
*//* | */../* | */./* | /*/*/*/*/*/)