Skip to content

Commit

Permalink
Enable recursive download of git sources.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30967 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
ryd committed Mar 17, 2012
1 parent 416f12e commit 5649d33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/download.mk
@@ -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.
# See /LICENSE for more information.
Expand Down Expand Up @@ -87,7 +87,7 @@ define DownloadMethod/git
cd $(TMP_DIR)/dl && \
rm -rf $(SUBDIR) && \
[ \! -d $(SUBDIR) ] && \
git clone $(URL) $(SUBDIR) && \
git clone $(URL) $(SUBDIR) --recursive && \
(cd $(SUBDIR) && git checkout $(VERSION)) && \
echo "Packing checkout..." && \
rm -rf $(SUBDIR)/.git && \
Expand Down

0 comments on commit 5649d33

Please sign in to comment.