Lines Matching refs:gnulib_path
485 rm -fr "$gnulib_path"
503 gnulib_path=$(git_modules_config submodule.gnulib.path)
504 test -z "$gnulib_path" && gnulib_path=gnulib
516 "$gnulib_path" || exit $?
519 if test -f "$gnulib_path"/gnulib-tool; then
521 git submodule update -- "$gnulib_path" || exit $?
524 rmdir "$gnulib_path" 2>/dev/null
526 "$(git_modules_config submodule.gnulib.url)" "$gnulib_path" \
527 && git submodule init -- "$gnulib_path" \
528 && git submodule update -- "$gnulib_path" \
536 git submodule init -- "$gnulib_path" || exit $?
537 git submodule update -- "$gnulib_path" || exit $?
539 elif [ ! -d "$gnulib_path" ]; then
549 git clone $shallow ${GNULIB_URL:-$default_gnulib_url} "$gnulib_path" \
555 mkdir -p "$gnulib_path"
564 git -C "$gnulib_path" init
565 git -C "$gnulib_path" remote add origin \
567 git -C "$gnulib_path" fetch $shallow origin "$GNULIB_REVISION" \
568 || git -C "$gnulib_path" fetch origin \
570 git -C "$gnulib_path" reset --hard FETCH_HEAD
576 GNULIB_SRCDIR=$gnulib_path
578 test -f "$gnulib_path/gnulib-tool" \
579 || die "Error: $gnulib_path is supposed to contain a gnulib checkout," \
1105 gnulib_path=$(test -f .gitmodules &&
1107 test -z "$gnulib_path" && gnulib_path=gnulib
1108 GNULIB_SRCDIR=$gnulib_path