Hello,

I encountered two flaws in the recent changes of bootstrap:

1) I am no longer able to run bootstrap in bash:

$ sh -x ./bootstrap 
...
++ git_modules_config submodule.gnulib.path
++ test -f .gitmodules
+ gnulib_path=
+ :
+ case ${GNULIB_SRCDIR--} in
+ git_modules_config submodule.gnulib.url
+ test -f .gitmodules
+ '[' '!' -d '' ']'
+ echo './bootstrap: getting gnulib files...'
./bootstrap: getting gnulib files...
+ trap cleanup_gnulib 1 2 13 15
+ shallow=
+ git clone -h
+ grep -- --depth
+ shallow='--depth 2'
+ git clone --depth 2 git://git.sv.gnu.org/gnulib ''
fatal: could not create work tree dir ''.: No such file or directory
+ cleanup_gnulib
+ cleanup ''
+ status=128
+ rm -fr
+ exit 128


The following change fixes it:

diff --git a/bootstrap b/bootstrap
index 73990c0..e7948c8 100755
--- a/bootstrap
+++ b/bootstrap
@@ -464,7 +464,7 @@ git_modules_config () {
 }

 gnulib_path=`git_modules_config submodule.gnulib.path`
-: ${gnulib_path=gnulib}
+test -z "$gnulib_path" && gnulib_path=gnulib

 # Get gnulib files.


2) Then it ends with the following error:

./bootstrap: invalid symlink calculation: paxutils/Make.rules -> ./Make.rules

I have no idea what it means, but if I revert the last two changes
of bootstrap, it works fine:

$ git checkout 67cad07 bootstrap

Please let me know, if you need some additional info.

Kamil

Reply via email to