Browse Source

Fix small but deadly typo

rdb 16 years ago
parent
commit
7da61abf33
1 changed files with 2 additions and 2 deletions
  1. 2 2
      direct/src/plugin/make_package.py

+ 2 - 2
direct/src/plugin/make_package.py

@@ -210,9 +210,9 @@ def makePackage(args):
             if len(tokens) >= 1:
             if len(tokens) >= 1:
                 pm.packageName = tokens[0]
                 pm.packageName = tokens[0]
             if len(tokens) >= 2:
             if len(tokens) >= 2:
-                pm.packagePlatform = tokens[2]
+                pm.packagePlatform = tokens[1]
             if len(tokens) >= 3:
             if len(tokens) >= 3:
-                pm.packageVersion = tokens[1]
+                pm.packageVersion = tokens[2]
             if len(tokens) >= 4:
             if len(tokens) >= 4:
                 raise ArgumentError, 'Too many tokens in string: %s' % (value)
                 raise ArgumentError, 'Too many tokens in string: %s' % (value)