Fixed reversed logic in GWT client compile script

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3870 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/utils/compile_gwt_clients.py b/utils/compile_gwt_clients.py
index 15c7c21..cc68f3f 100644
--- a/utils/compile_gwt_clients.py
+++ b/utils/compile_gwt_clients.py
@@ -150,8 +150,8 @@
                       dest='extra_args', action='store',
                       default='',
                       help='Extra arguments to pass to java')
-    parser.add_option('-d', '--no-install', dest='no_install',
-                      action='store_true', default=False,
+    parser.add_option('-d', '--no-install', dest='install_client',
+                      action='store_false', default=True,
                       help='Do not install the clients just compile them')
     options, args = parser.parse_args()
 
@@ -172,7 +172,7 @@
     elif options.compile_list:
         for client in options.compile_list.split():
             if not compile_and_install_client(client, options.extra_args,
-                                              options.no_install):
+                                              options.install_client):
                 failed_clients.append(client)
 
     if os.path.exists(_TMP_COMPILE_DIR):