Fix previous.
authorCarl Hetherington <cth@carlh.net>
Fri, 17 Oct 2014 09:13:12 +0000 (10:13 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 17 Oct 2014 09:13:12 +0000 (10:13 +0100)
cdist

diff --git a/cdist b/cdist
index 6e6bdb48c90cc49e2d18b9fe52ffe3c06f1e0e46..2743e5f9967156efa1b6d6b49b199a389910f2d2 100755 (executable)
--- 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)