diff options
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-x | auto_update_tests.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py index d435dcdaf..8dac39faf 100755 --- a/auto_update_tests.py +++ b/auto_update_tests.py @@ -2,7 +2,11 @@ import os, sys, subprocess, difflib -os.environ['LD_LIBRARY_PATH'] += os.pathsep + 'lib' # find our dynamic libraries +# find our dynamic libraries +if os.environ.get('LD_LIBRARY_PATH'): + os.environ['LD_LIBRARY_PATH'] += os.pathsep + 'lib' +else: + os.environ['LD_LIBRARY_PATH'] = 'lib' print '[ processing and updating testcases... ]\n' |