alecthomas / devtodo2

DevTodo the Second
100 stars 18 forks source link

Changing that the go executable would sometimes have to be called with sudo. PR added. #27

Closed DenLilleMand closed 7 years ago

DenLilleMand commented 7 years ago

/usr/local/bin and /usr/local/share/man is often owned by the root user, at least in my experience. So the make install command would have to be called with sudo. The problem with calling it with sudo is that go throws the following error when the$GOROOT is not on the path: make: go: Command not found

To make the build process more clean, i have added one more step(would be nice if this could be avoided), which is just make according to the standard UNIX install process ./configure, make, make install - i think this is acceptable. It simply clear cuts the steps a little better dividing it into build, install, cleanup.

DenLilleMand commented 7 years ago

PR: #28