[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] Re: bootstrap broken
From: |
Sergey Poznyakoff |
Subject: |
[Bug-tar] Re: bootstrap broken |
Date: |
Tue, 26 Oct 2010 16:44:44 +0300 |
> I encountered two flaws in the recent changes of bootstrap:
Thanks for reporting.
> The following change fixes it:
The proper fix would be:
-: ${gnulib_path=gnulib}
+: ${gnulib_path:=gnulib}
> $ git checkout 67cad07 bootstrap
Please try the attached patch.
Regards,
Sergey
diff --git a/bootstrap b/bootstrap
index 73990c0..1599728 100755
--- a/bootstrap
+++ b/bootstrap
@@ -464,8 +464,7 @@ git_modules_config () {
}
gnulib_path=`git_modules_config submodule.gnulib.path`
-: ${gnulib_path=gnulib}
-
+: ${gnulib_path:=gnulib}
# Get gnulib files.
case ${GNULIB_SRCDIR--} in
@@ -623,6 +622,7 @@ symlink_to_dir()
/*) ;;
*)
case /$dst/ in
+ /./*) ;;
*//* | */../* | */./* | /*/*/*/*/*/)
echo >&2 "$0: invalid symlink calculation: $src -> $dst"
exit 1;;