aboutsummaryrefslogtreecommitdiff
path: root/net/git/Makefile
diff options
context:
space:
mode:
authorPeter Wagner <tripolar@gmx.at>2018-01-11 14:51:47 +0100
committerPeter Wagner <tripolar@gmx.at>2018-01-11 14:51:47 +0100
commitf3490fe273fba4d113804819add17b3e870f28d7 (patch)
treeaa4e097bfc4b75e316474e77e3d6c23382698683 /net/git/Makefile
parent5d0971b9ccf85b959c7c7a57f262ca96c6d4b744 (diff)
git: add missing template files
Signed-off-by: Peter Wagner <tripolar@gmx.at>
Diffstat (limited to 'net/git/Makefile')
-rw-r--r--net/git/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/git/Makefile b/net/git/Makefile
index cc6b58b44..25275d13c 100644
--- a/net/git/Makefile
+++ b/net/git/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2009-2016 OpenWrt.org
+# Copyright (C) 2009-2018 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=git
PKG_VERSION:=2.15.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/software/scm/git/
@@ -111,6 +111,7 @@ define Package/git/install
$(CP) $(PKG_INSTALL_DIR)/usr/bin/git-* $(1)/usr/bin
$(INSTALL_DIR) $(1)/usr/lib/git-core
$(LN) /usr/bin/git $(1)/usr/lib/git-core/git
+ $(INSTALL_DIR) $(1)/usr/share/git-core/templates
( cd $(PKG_INSTALL_DIR); $(TAR) \
--exclude=usr/lib/git-core/git-http-backend \
--exclude=usr/lib/git-core/git-http-fetch \
@@ -120,8 +121,8 @@ define Package/git/install
--exclude=usr/lib/git-core/git-remote-https \
-cf - \
usr/lib/git-core \
+ usr/share/git-core/templates \
) | ( cd $(1); $(TAR) -xf - )
- $(INSTALL_DIR) $(1)/usr/share/git-core/templates
endef
define Package/git-http/install