Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
cosnicolaou committed Mar 14, 2024
1 parent 77d7bb0 commit 6b600b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gosh/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,10 @@ func newCmd(sh *Shell, vars map[string]string, name string, args ...string) (*Cm
if err != nil {
return nil, fmt.Errorf("gosh: failed to locate executable: %s", name)
}
fmt.Printf("NAME... %v -> %v\n", name, lp)
name = lp
fmt.Printf("NAME... %v %v\n", lp, name)
} else {
fmt.Printf("LEFT ALONE %v\n", name)
}
return newCmdInternal(sh, vars, name, args)
}
Expand Down

0 comments on commit 6b600b1

Please sign in to comment.