Add GOPATH warning

Change-Id: I4dba0e2d3470b64640574ea35fe100aa30c16600
This commit is contained in:
Brad Fitzpatrick 2012-12-23 13:07:46 -08:00
parent 6dfc690cc6
commit 0b076506bd
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ $port = "3179" unless defined($port);
usage() unless $port =~ /^\d+$/;
unless ($ENV{GOPATH}) {
warn "WARNING: Your GOPATH isn't set; attempting workaround, but you should really set a GOPATH. See https://plus.google.com/106356964679457436995/posts/ftJaqe9sbS2 and make your working directory be \$GOPATH/src/camlistore.org for best results.\n";
$ENV{GOPATH} = "$Bin/gopath"
}