mirror of
https://github.com/danog/gllvm.git
synced 2024-11-26 23:24:42 +01:00
extractor: Fix other assigns
This commit is contained in:
parent
6ca36df5db
commit
eb5c783f2c
@ -307,7 +307,10 @@ func handleThinArchive(ea ExtractionArgs) (success bool) {
|
|||||||
for index, obj := range objectFiles {
|
for index, obj := range objectFiles {
|
||||||
LogInfo("obj = '%v'\n", obj)
|
LogInfo("obj = '%v'\n", obj)
|
||||||
if len(obj) > 0 {
|
if len(obj) > 0 {
|
||||||
artifacts := ea.Extractor(obj)
|
artifacts, success := ea.Extractor(obj)
|
||||||
|
if !success {
|
||||||
|
return
|
||||||
|
}
|
||||||
LogInfo("\t%v\n", artifacts)
|
LogInfo("\t%v\n", artifacts)
|
||||||
artifactFiles = append(artifactFiles, artifacts...)
|
artifactFiles = append(artifactFiles, artifacts...)
|
||||||
for _, bc := range artifacts {
|
for _, bc := range artifacts {
|
||||||
@ -460,7 +463,10 @@ func handleArchive(ea ExtractionArgs) (success bool) {
|
|||||||
|
|
||||||
if obj != "" && extractFile(ea, inputFile, obj, i) {
|
if obj != "" && extractFile(ea, inputFile, obj, i) {
|
||||||
|
|
||||||
artifacts := ea.Extractor(obj)
|
artifacts, success := ea.Extractor(obj)
|
||||||
|
if !success {
|
||||||
|
return
|
||||||
|
}
|
||||||
LogInfo("\t%v\n", artifacts)
|
LogInfo("\t%v\n", artifacts)
|
||||||
artifactFiles = append(artifactFiles, artifacts...)
|
artifactFiles = append(artifactFiles, artifacts...)
|
||||||
for _, bc := range artifacts {
|
for _, bc := range artifacts {
|
||||||
|
Loading…
Reference in New Issue
Block a user