Fix tabs versus spaces and swap if and else clause check from a negative to a positive check.

This commit is contained in:
Jim Galarowicz 2017-02-13 10:34:09 -08:00
parent 643a9f2ed0
commit 6630f2c97c

View File

@ -229,10 +229,10 @@ def configure(self):
# A user reported that this was necessary to link Qt3 on ubuntu.
# However, if LD_LIBRARY_PATH is not set the qt build fails, check
# and set LD_LIBRARY_PATH if not set, update if it is set.
if not os.environ.get('LD_LIBRARY_PATH'):
os.environ['LD_LIBRARY_PATH'] = os.pathsep + os.getcwd() + '/lib'
else:
if os.environ.get('LD_LIBRARY_PATH'):
os.environ['LD_LIBRARY_PATH'] += os.pathsep + os.getcwd() + '/lib'
else:
os.environ['LD_LIBRARY_PATH'] = os.pathsep + os.getcwd() + '/lib'
configure('-prefix', self.prefix,
'-v',