Bump to 1.14.1
[platform/upstream/augeas.git] / packaging / Fix_bootstrap_for_build.patch
1 diff --git a/bootstrap b/bootstrap
2 index a84eb39..1ed9c48 100755
3 --- a/bootstrap
4 +++ b/bootstrap
5 @@ -1,3 +1,4 @@
6 +
7  #!/bin/sh
8  
9  usage() {
10 @@ -33,33 +34,6 @@ do
11    esac
12  done
13  
14 -# Get gnulib files.
15 -
16 -case ${GNULIB_SRCDIR--} in
17 --)
18 -  echo "$0: getting gnulib files..."
19 -  git submodule init || exit $?
20 -  git submodule update || exit $?
21 -  GNULIB_SRCDIR=.gnulib
22 -  ;;
23 -*)
24 -  # Redirect the gnulib submodule to the directory on the command line
25 -  # if possible.
26 -  if test -d "$GNULIB_SRCDIR"/.git && \
27 -       git config --file .gitmodules submodule.gnulib.url >/dev/null; then
28 -    git submodule init
29 -    GNULIB_SRCDIR=`cd $GNULIB_SRCDIR && pwd`
30 -    git config --replace-all submodule.gnulib.url $GNULIB_SRCDIR
31 -    echo "$0: getting gnulib files..."
32 -    git submodule update || exit $?
33 -    GNULIB_SRCDIR=.gnulib
34 -  else
35 -    echo >&2 "$0: invalid gnulib srcdir: $GNULIB_SRCDIR"
36 -    exit 1
37 -  fi
38 -  ;;
39 -esac
40 -
41  gnulib_tool=$GNULIB_SRCDIR/gnulib-tool
42  <$gnulib_tool || exit
43