comparison mxtool/mx.py @ 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 ffd5ce8fc736
comparison
equal deleted inserted replaced
4257:32b8274f52ad 4258:8d2c14f722ac
629 629
630 def exe_suffix(name): 630 def exe_suffix(name):
631 """ 631 """
632 Gets the platform specific suffix for an executable 632 Gets the platform specific suffix for an executable
633 """ 633 """
634 if os == 'windows': 634 if get_os() == 'windows':
635 return name + '.exe' 635 return name + '.exe'
636 return name 636 return name
637 637
638 """ 638 """
639 A JavaConfig object encapsulates info on how Java commands are run. 639 A JavaConfig object encapsulates info on how Java commands are run.