diff options
author | dirkbaechle <devnull@localhost> | 2012-10-03 11:40:03 (GMT) |
---|---|---|
committer | dirkbaechle <devnull@localhost> | 2012-10-03 11:40:03 (GMT) |
commit | af2b9e2f216459fcdc26f367aaaf528d8122283b (patch) | |
tree | 28972b25a5bc9ba70bece2621adcc24af4d357ad /src | |
parent | 80cdf2501dfec07640481bf3d934add3e0cb0a04 (diff) | |
download | SCons-af2b9e2f216459fcdc26f367aaaf528d8122283b.zip SCons-af2b9e2f216459fcdc26f367aaaf528d8122283b.tar.gz SCons-af2b9e2f216459fcdc26f367aaaf528d8122283b.tar.bz2 |
- final changes for bug2872 "Fix tests on Buildbot slaves", mainly switched all RPM tests to using the new rpmutils module
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/SCons/Tool/xgettext.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/xgettext.py b/src/engine/SCons/Tool/xgettext.py index 17e055f..64436b8 100644 --- a/src/engine/SCons/Tool/xgettext.py +++ b/src/engine/SCons/Tool/xgettext.py @@ -271,7 +271,10 @@ def generate(env,**kw): import SCons.Util from SCons.Tool.GettextCommon import RPaths, _detect_xgettext - env['XGETTEXT'] = _detect_xgettext(env) + try: + env['XGETTEXT'] = _detect_xgettext(env) + except: + env['XGETTEXT'] = 'xgettext' # NOTE: sources="$SOURCES" would work as well. However, we use following # construction to convert absolute paths provided by scons onto paths # relative to current working dir. Note, that scons expands $SOURCE(S) to |