mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
git: don't hard link to symlinks, to avoid ending up with a git executeable with 0777 access rights
Signed-off-by: Peter Wagner <tripolar@gmx.at>
This commit is contained in:
+2
-2
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=git
|
PKG_NAME:=git
|
||||||
PKG_VERSION:=2.19.0
|
PKG_VERSION:=2.19.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=@KERNEL/software/scm/git/
|
PKG_SOURCE_URL:=@KERNEL/software/scm/git/
|
||||||
@@ -112,8 +112,8 @@ define Package/git/install
|
|||||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/git-* $(1)/usr/bin
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/git-* $(1)/usr/bin
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/git-core
|
$(INSTALL_DIR) $(1)/usr/lib/git-core
|
||||||
ln $(1)/usr/bin/git $(1)/usr/lib/git-core/git
|
ln $(1)/usr/bin/git $(1)/usr/lib/git-core/git
|
||||||
|
ln $(1)/usr/bin/git $(1)/usr/lib/git-core/git-upload-pack
|
||||||
ln $(1)/usr/bin/git-shell $(1)/usr/lib/git-core/git-shell
|
ln $(1)/usr/bin/git-shell $(1)/usr/lib/git-core/git-shell
|
||||||
ln $(1)/usr/bin/git-upload-pack $(1)/usr/lib/git-core/git-upload-pack
|
|
||||||
$(INSTALL_DIR) $(1)/usr/share/git-core/templates
|
$(INSTALL_DIR) $(1)/usr/share/git-core/templates
|
||||||
( cd $(PKG_INSTALL_DIR); $(TAR) \
|
( cd $(PKG_INSTALL_DIR); $(TAR) \
|
||||||
--exclude=usr/lib/git-core/git-http-backend \
|
--exclude=usr/lib/git-core/git-http-backend \
|
||||||
|
|||||||
Reference in New Issue
Block a user