mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/dist: fix superfluous and confusing "binaries ... to be copied or moved" message
Also, to aid debugging cmd/dist, make make.bat support --dist-tool flag. Fixes #3100. R=alex.brainman CC=golang-dev https://golang.org/cl/6637061
This commit is contained in:
parent
e171b97ee6
commit
19dc7bb18f
6 changed files with 61 additions and 1 deletions
7
src/cmd/dist/unix.c
vendored
7
src/cmd/dist/unix.c
vendored
|
|
@ -727,5 +727,12 @@ xstrrchr(char *p, int c)
|
|||
return strrchr(p, c);
|
||||
}
|
||||
|
||||
// xsamefile returns whether f1 and f2 are the same file (or dir)
|
||||
int
|
||||
xsamefile(char *f1, char *f2)
|
||||
{
|
||||
return streq(f1, f2); // suffice for now
|
||||
}
|
||||
|
||||
#endif // PLAN9
|
||||
#endif // __WINDOWS__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue