diff options
author | Michi Henning <michi@zeroc.com> | 2007-06-27 13:11:23 +1000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2007-06-27 13:11:23 +1000 |
commit | 11c9552bd13ae9f569dddad69939931349f7ee53 (patch) | |
tree | 9952dd7deddf483c616c1116971ebb3e983c0035 /java/makedist.py | |
parent | Remove obsolete feature from Windows installers. (diff) | |
download | ice-11c9552bd13ae9f569dddad69939931349f7ee53.tar.bz2 ice-11c9552bd13ae9f569dddad69939931349f7ee53.tar.xz ice-11c9552bd13ae9f569dddad69939931349f7ee53.zip |
Bug 2270.
Diffstat (limited to 'java/makedist.py')
-rwxr-xr-x | java/makedist.py | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/java/makedist.py b/java/makedist.py index 5af0d255ad1..a6db83d319b 100755 --- a/java/makedist.py +++ b/java/makedist.py @@ -31,22 +31,13 @@ def usage(): # methods out into their own module. # def isHpUx(): - if sys.platform == "hp-ux11": - return 1 - else: - return 0 + return sys.platform == "hp-ux11" def isDarwin(): - if sys.platform == "darwin": - return 1 - else: - return 0 + return sys.platform == "darwin" def isAIX(): - if sys.platform in ['aix4', 'aix5']: - return 1 - else: - return 0 + return sys.platform in ['aix4', 'aix5'] # # Find files matching a pattern. |