This is a drop in, more generic replacement of one of the
RPM specific patches.

Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
---
 utils/compile_gwt_clients.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/utils/compile_gwt_clients.py b/utils/compile_gwt_clients.py
index 160708c..41e27eb 100755
--- a/utils/compile_gwt_clients.py
+++ b/utils/compile_gwt_clients.py
@@ -11,7 +11,9 @@ Compile All Autotest GWT Clients Living in 
autotest/frontend/client/src
 """
 
 _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'
-- 
1.7.11.4

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to