forked from cerc-io/plugeth
build: fix iOS framework build (#22813)
This fixes a regression introduced in #22804.
This commit is contained in:
parent
d107f90d1c
commit
973ad66b49
@ -972,6 +972,9 @@ func doXCodeFramework(cmdline []string) {
|
|||||||
// Create the archive.
|
// Create the archive.
|
||||||
maybeSkipArchive(env)
|
maybeSkipArchive(env)
|
||||||
archive := "geth-" + archiveBasename("ios", params.ArchiveVersion(env.Commit))
|
archive := "geth-" + archiveBasename("ios", params.ArchiveVersion(env.Commit))
|
||||||
|
if err := os.MkdirAll(archive, 0755); err != nil {
|
||||||
|
log.Fatal(err)
|
||||||
|
}
|
||||||
bind.Dir, _ = filepath.Abs(archive)
|
bind.Dir, _ = filepath.Abs(archive)
|
||||||
build.MustRun(bind)
|
build.MustRun(bind)
|
||||||
build.MustRunCommand("tar", "-zcvf", archive+".tar.gz", archive)
|
build.MustRunCommand("tar", "-zcvf", archive+".tar.gz", archive)
|
||||||
|
Loading…
Reference in New Issue
Block a user