Handle empty build dir correctly
This commit is contained in:
parent
249f11d059
commit
530b98e513
4
debug.go
4
debug.go
@ -198,7 +198,9 @@ func (cmd *DebugCmd) Run(g *Globals) (err error) {
|
||||
// Copy all test files to the remote machine
|
||||
for _, f := range ka.TestFiles {
|
||||
if f.Local[0] != '/' {
|
||||
f.Local = buildDir + "/" + f.Local
|
||||
if res.BuildDir != "" {
|
||||
f.Local = buildDir + "/" + f.Local
|
||||
}
|
||||
}
|
||||
err = q.CopyFile(f.User, f.Local, f.Remote)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user