[Buildroot] [PATCH 3/3] Makefile.package.in: Fixing git download method

Allan W. Nielsen a at awn.dk
Tue May 10 06:17:06 UTC 2011


Signed-off-by: Allan W. Nielsen <a at awn.dk>
---
 package/Makefile.package.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/Makefile.package.in b/package/Makefile.package.in
index 1e87256..6038a09 100644
--- a/package/Makefile.package.in
+++ b/package/Makefile.package.in
@@ -109,7 +109,7 @@ define DOWNLOAD_GIT
 	$(GIT) clone --bare $($(PKG)_SITE) $($(PKG)_BASE_NAME) && \
 	pushd $($(PKG)_BASE_NAME) > /dev/null && \
 	$(GIT) archive --format=tar --prefix=$($(PKG)_BASE_NAME)/ $($(PKG)_DL_VERSION) | \
-		gzip -c > $(DL_DIR)/$($(PKG)_SOURCE) && \
+		gzip -c > ../$($(PKG)_SOURCE) && \
 	popd > /dev/null && \
 	rm -rf $($(PKG)_DL_DIR) && \
 	popd > /dev/null)
-- 
1.7.3.4




More information about the buildroot mailing list