changeset 4258:8d2c14f722ac

mx.py: fix OS detection in exe_suffix()
author Andreas Woess <andreas.woess@jku.at>
date Wed, 11 Jan 2012 14:04:04 +0100
parents 32b8274f52ad
children e2499e6d8aa7 ffd5ce8fc736
files mxtool/mx.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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