diff --git a/utils/compile_gwt_clients.py b/utils/compile_gwt_clients.py index 160708cc7b..41e27eb96e 100755 --- a/utils/compile_gwt_clients.py +++ b/utils/compile_gwt_clients.py @@ -11,7 +11,9 @@ """ _AUTOTEST_DIR = common.autotest_dir -_DEFAULT_GWT_DIR = '/usr/local/lib/gwt' +_DEFAULT_GWT_DIR = '/usr/share/gwt' +if not os.path.isdir(_DEFAULT_GWT_DIR): + _DEFAULT_GWT_DIR = '/usr/local/lib/gwt' _DEFAULT_APP_DIR = os.path.join(_AUTOTEST_DIR, 'frontend/client') _DEFAULT_INSTALL_DIR = os.path.join(_DEFAULT_APP_DIR, 'www') _TMP_COMPILE_DIR = _DEFAULT_INSTALL_DIR + '.new'