]> Cypherpunks repositories - gostls13.git/commit
exec: use custom error for LookPath
authorGustavo Niemeyer <gustavo@niemeyer.net>
Tue, 1 Feb 2011 17:12:51 +0000 (12:12 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 1 Feb 2011 17:12:51 +0000 (12:12 -0500)
commit59a47732dd2273f7077cb717d4aedf8c3d64aa5a
treead6f0182a2f211277f19af3c74c0c2ee46203a09
parente6a934a1d9258a6990724774995770d9bb5fea4b
exec: use custom error for LookPath

Make the error message and the needed action more obvious
when a command isn't found to obtain the source code
of a project.  Users seem to strugle with the existing
wording in practice.

R=rsc
CC=golang-dev
https://golang.org/cl/4058047
src/cmd/goinstall/main.go
src/pkg/exec/exec.go
src/pkg/exec/lp_test.go [new file with mode: 0644]
src/pkg/exec/lp_unix.go
src/pkg/exec/lp_windows.go