From 0b076506bd300727168b51ac34ce964d2763091f Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sun, 23 Dec 2012 13:07:46 -0800 Subject: [PATCH] Add GOPATH warning Change-Id: I4dba0e2d3470b64640574ea35fe100aa30c16600 --- dev-server | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-server b/dev-server index ca87625a9..f1bcdd7a0 100755 --- a/dev-server +++ b/dev-server @@ -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" }