mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
build: Change references to COPYING file
This commit is contained in:
parent
855690523a
commit
4f7ba3d326
1 changed files with 5 additions and 5 deletions
10
build/ci.go
10
build/ci.go
|
|
@ -66,13 +66,13 @@ import (
|
|||
var (
|
||||
// Files that end up in the geth*.zip archive.
|
||||
gethArchiveFiles = []string{
|
||||
"COPYING",
|
||||
"COPYING.txt",
|
||||
executablePath("geth"),
|
||||
}
|
||||
|
||||
// Files that end up in the geth-alltools*.zip archive.
|
||||
allToolsArchiveFiles = []string{
|
||||
"COPYING",
|
||||
"COPYING.txt",
|
||||
executablePath("abigen"),
|
||||
executablePath("bootnode"),
|
||||
executablePath("evm"),
|
||||
|
|
@ -764,7 +764,7 @@ func doWindowsInstaller(cmdline []string) {
|
|||
gethTool string
|
||||
)
|
||||
for _, file := range allToolsArchiveFiles {
|
||||
if file == "COPYING" { // license, copied later
|
||||
if file == "COPYING.txt" { // license, copied later
|
||||
continue
|
||||
}
|
||||
allTools = append(allTools, filepath.Base(file))
|
||||
|
|
@ -778,7 +778,7 @@ func doWindowsInstaller(cmdline []string) {
|
|||
// Render NSIS scripts: Installer NSIS contains two installer sections,
|
||||
// first section contains the geth binary, second section holds the dev tools.
|
||||
templateData := map[string]interface{}{
|
||||
"License": "COPYING",
|
||||
"License": "COPYING.txt",
|
||||
"Geth": gethTool,
|
||||
"DevTools": devTools,
|
||||
}
|
||||
|
|
@ -790,7 +790,7 @@ func doWindowsInstaller(cmdline []string) {
|
|||
if err := cp.CopyFile(filepath.Join(*workdir, "SimpleFC.dll"), "build/nsis.simplefc.dll"); err != nil {
|
||||
log.Fatal("Failed to copy SimpleFC.dll: %v", err)
|
||||
}
|
||||
if err := cp.CopyFile(filepath.Join(*workdir, "COPYING"), "COPYING"); err != nil {
|
||||
if err := cp.CopyFile(filepath.Join(*workdir, "COPYING.txt"), "COPYING.txt"); err != nil {
|
||||
log.Fatal("Failed to copy copyright note: %v", err)
|
||||
}
|
||||
// Build the installer. This assumes that all the needed files have been previously
|
||||
|
|
|
|||
Loading…
Reference in a new issue