버전 파일 경로 오류 수정
This commit is contained in:
@ -91,9 +91,14 @@ func main() {
|
||||
if dec.Decode(&tempArgs) == nil {
|
||||
nextArgs = tempArgs
|
||||
}
|
||||
} else if err := copy(path.Join(args[2], ent.Name()), ent.Name()); err != nil {
|
||||
stdlog.Println("copy failed :", path.Join(args[2], ent.Name()), ent.Name())
|
||||
stdlog.Fatal(err)
|
||||
} else {
|
||||
err := copy(path.Join(args[2], ent.Name()), ent.Name())
|
||||
if err != nil {
|
||||
stdlog.Println("copy failed :", path.Join(args[2], ent.Name()), ent.Name())
|
||||
stdlog.Fatal(err)
|
||||
} else {
|
||||
stdlog.Println("file copied :", path.Join(args[2], ent.Name()), ent.Name())
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user