mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
Make libtool cloning works for older git
This commit is contained in:
parent
3b67441ef1
commit
5ebd0729f9
@ -75,12 +75,12 @@ $(PREFIX)/libtool:
|
|||||||
mkdir -p "$@.partial"
|
mkdir -p "$@.partial"
|
||||||
|
|
||||||
git clone \
|
git clone \
|
||||||
|
--recurse-submodules \
|
||||||
|
--shallow-submodules \
|
||||||
"https://gitlab.redox-os.org/redox-os/libtool/" \
|
"https://gitlab.redox-os.org/redox-os/libtool/" \
|
||||||
--branch "v$(LIBTOOL_VERSION)-redox" \
|
--branch "v$(LIBTOOL_VERSION)-redox" \
|
||||||
--filter=tree:0 \
|
--depth 2 \
|
||||||
"$@.partial"
|
"$@.partial"
|
||||||
git -C "$@.partial" submodule update \
|
|
||||||
--filter=tree:0 --init --recursive
|
|
||||||
|
|
||||||
touch "$@.partial"
|
touch "$@.partial"
|
||||||
echo $(LIBTOOL_VERSION) > $@.partial/.tarball-version
|
echo $(LIBTOOL_VERSION) > $@.partial/.tarball-version
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user