Browse Source

golang: Update files installed

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lilik-openwrt-22.03
Jeffery To 5 years ago
parent
commit
bddd1ec588
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      lang/golang/golang-compiler.mk
  2. +1
    -1
      lang/golang/golang/Makefile

+ 1
- 1
lang/golang/golang-compiler.mk View File

@ -59,7 +59,7 @@ define GoCompiler/Default/Install/Bin
$(INSTALL_DATA) -p $(1)/VERSION $(2)/lib/go-$(3)/ $(INSTALL_DATA) -p $(1)/VERSION $(2)/lib/go-$(3)/
for file in AUTHORS CONTRIBUTING.md CONTRIBUTORS LICENSE PATENTS README README.md; do \
for file in AUTHORS CONTRIBUTING.md CONTRIBUTORS LICENSE PATENTS README.md SECURITY.md; do \
if [ -f $(1)/$$$$file ]; then \ if [ -f $(1)/$$$$file ]; then \
$(INSTALL_DATA) -p $(1)/$$$$file $(2)/share/go-$(3)/ ; \ $(INSTALL_DATA) -p $(1)/$$$$file $(2)/share/go-$(3)/ ; \
fi ; \ fi ; \


+ 1
- 1
lang/golang/golang/Makefile View File

@ -12,7 +12,7 @@ GO_VERSION_PATCH:=7
PKG_NAME:=golang PKG_NAME:=golang
PKG_VERSION:=$(GO_VERSION_MAJOR_MINOR)$(if $(GO_VERSION_PATCH),.$(GO_VERSION_PATCH)) PKG_VERSION:=$(GO_VERSION_MAJOR_MINOR)$(if $(GO_VERSION_PATCH),.$(GO_VERSION_PATCH))
PKG_RELEASE:=2
PKG_RELEASE:=3
GO_SOURCE_URLS:=https://dl.google.com/go/ \ GO_SOURCE_URLS:=https://dl.google.com/go/ \
https://mirrors.ustc.edu.cn/golang/ \ https://mirrors.ustc.edu.cn/golang/ \


Loading…
Cancel
Save