diff options
author | Jim Meyering <meyering@redhat.com> | 2011-01-14 09:43:00 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-01-20 08:52:31 +0100 |
commit | 9063c7931ab1d25649a9c70cd8f45be92c58de93 (patch) | |
tree | 3d300c90e390bac55eceaf12eb62556165ef0fbb /build-aux | |
parent | 80905e10d427a3abdeb61e2677a6cbe0f8ac1aba (diff) | |
download | gnulib-9063c7931ab1d25649a9c70cd8f45be92c58de93.tar.gz |
bootstrap: avoid failure when there is no .gitmodules file
": ${gnulib_path=gnulib}" fails to set $gnulib_path when that variable
has been assigned to, even when its value is the empty string.
* build-aux/bootstrap (gnulib_path): Test explicitly for an empty
"$gnulib_path", rather than using ${gnulib_path=gnulib}.
Reported by John W. Eaton <jwe@gnu.org>.
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/bootstrap | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/bootstrap b/build-aux/bootstrap index ecf2517840..25bc53b9d9 100755 --- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh # Print a version string. -scriptversion=2010-11-20.03; # UTC +scriptversion=2011-01-14.08; # UTC # Bootstrap this package from checked-out sources. @@ -462,7 +462,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. |