# HG changeset patch # User Andreas Woess # Date 1326287044 -3600 # Node ID 8d2c14f722acf5c251583654abd9a9c2c0c95c0b # Parent 32b8274f52ad43d44123f5448be234905027c83a mx.py: fix OS detection in exe_suffix() diff -r 32b8274f52ad -r 8d2c14f722ac mxtool/mx.py --- a/mxtool/mx.py Tue Jan 10 23:49:13 2012 +0100 +++ b/mxtool/mx.py Wed Jan 11 14:04:04 2012 +0100 @@ -631,7 +631,7 @@ """ Gets the platform specific suffix for an executable """ - if os == 'windows': + if get_os() == 'windows': return name + '.exe' return name