Enable recursive download of git sources.
SVN-Revision: 30967
This commit is contained in:
parent
deac1c16a1
commit
6204553450
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2006-2010 OpenWrt.org
|
# Copyright (C) 2006-2012 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
|
@ -87,7 +87,7 @@ define DownloadMethod/git
|
||||||
cd $(TMP_DIR)/dl && \
|
cd $(TMP_DIR)/dl && \
|
||||||
rm -rf $(SUBDIR) && \
|
rm -rf $(SUBDIR) && \
|
||||||
[ \! -d $(SUBDIR) ] && \
|
[ \! -d $(SUBDIR) ] && \
|
||||||
git clone $(URL) $(SUBDIR) && \
|
git clone $(URL) $(SUBDIR) --recursive && \
|
||||||
(cd $(SUBDIR) && git checkout $(VERSION)) && \
|
(cd $(SUBDIR) && git checkout $(VERSION)) && \
|
||||||
echo "Packing checkout..." && \
|
echo "Packing checkout..." && \
|
||||||
rm -rf $(SUBDIR)/.git && \
|
rm -rf $(SUBDIR)/.git && \
|
||||||
|
|
Loading…
Reference in a new issue