Skip to content

Commit

Permalink
utils.compile_gwt_clients: Use system wide GWT dir if available
Browse files Browse the repository at this point in the history
This is a drop in, more generic replacement of one of the
RPM specific patches.

Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
  • Loading branch information
lmr committed Sep 24, 2012
1 parent b3b38df commit c006489
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/compile_gwt_clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c006489

Please sign in to comment.