]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bin/bitbake: Clarify server error message
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Oct 2013 13:24:50 +0000 (14:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Oct 2013 14:34:13 +0000 (15:34 +0100)
Getting an error message about --remote-server being set when really
BBSERVER was is confusing, clarify the message.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bin/bitbake

index 920c6c4fc62650d0e3c1d0b86102122c3966ac1f..88893f8de6b8f3983672b4894e7c0980ee5e660e 100755 (executable)
@@ -262,8 +262,8 @@ def main():
         if not configParams.bind:
             sys.exit("FATAL: The '--server-only' option requires a name/address to bind to with the -B option.\n")
         if configParams.remote_server:
-            sys.exit("FATAL: The '--server-only' option conflicts with the '--remote-server' option. %s\n" % 
-                ("Please check your BBSERVER environment" if "BBSERVER" in os.environ else "" ))
+            sys.exit("FATAL: The '--server-only' option conflicts with %s.\n" % 
+                ("the BBSERVER environment variable" if "BBSERVER" in os.environ else "the '--remote-server' option" ))
 
     if configParams.bind and configParams.servertype != "xmlrpc":
         sys.exit("FATAL: If '-B' or '--bind' is defined, we must set the servertype as 'xmlrpc'.\n")