summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-10-17 10:13:12 +0100
committerCarl Hetherington <cth@carlh.net>2014-10-17 10:13:12 +0100
commitf03d7cb07c26c3a98ac008112170b7cd40ecf489 (patch)
treecc4523c1858dbad2c842a9f568a459d722dda40f
parentbfe86456f2c724f85cda217f42278510764c4be7 (diff)
Fix previous.
-rwxr-xr-xcdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdist b/cdist
index 6e6bdb4..2743e5f 100755
--- a/cdist
+++ b/cdist
@@ -456,7 +456,7 @@ def target_factory(s, debug, work):
elif s.startswith('osx-'):
target = OSXSingleTarget(int(s.split('-')[1]), work)
elif s == 'osx':
- if args.command == 'build':
+ if command == 'build':
target = OSXSingleTarget(64, work)
else:
target = OSXUniversalTarget(work)