Further fixes in bootstrap.

* bootstrap: Restore the default for gnulib_path
(symlink_to_dir): Re-apply 67cad07.
This commit is contained in:
Sergey Poznyakoff
2010-10-26 16:48:40 +03:00
parent acb77ac5bd
commit c520964e84

View File

@@ -464,8 +464,7 @@ git_modules_config () {
} }
gnulib_path=`git_modules_config submodule.gnulib.path` gnulib_path=`git_modules_config submodule.gnulib.path`
: ${gnulib_path=gnulib} : ${gnulib_path:=gnulib}
# Get gnulib files. # Get gnulib files.
case ${GNULIB_SRCDIR--} in case ${GNULIB_SRCDIR--} in
@@ -623,6 +622,7 @@ symlink_to_dir()
/*) ;; /*) ;;
*) *)
case /$dst/ in case /$dst/ in
/./*) ;;
*//* | */../* | */./* | /*/*/*/*/*/) *//* | */../* | */./* | /*/*/*/*/*/)
echo >&2 "$0: invalid symlink calculation: $src -> $dst" echo >&2 "$0: invalid symlink calculation: $src -> $dst"
exit 1;; exit 1;;