[packages] git: ship with absolute symlink to git (#10221)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29036 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b00c751d1e
commit
012eec3f60
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=git
|
||||
PKG_VERSION:=1.7.5.2
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=@KERNEL/software/scm/git
|
||||
@ -64,6 +64,7 @@ endef
|
||||
define Package/git/install
|
||||
$(INSTALL_DIR) $(1)
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
ln -s /usr/bin/git $(1)/usr/libexec/git-core/git
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,git))
|
||||
|
Loading…
x
Reference in New Issue
Block a user